tech-repository archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: does CVS officially support renames?



At Thu, 8 Jan 2026 10:59:32 -0500, Andrew Cagney <andrew.cagney%gmail.com@localhost> wrote:
Subject: Re: does CVS officially support renames?
>
> On Thu, 8 Jan 2026 at 10:19, Martin Husemann <martin%duskware.de@localhost> wrote:
> > >
> > > And based on Greg's comments, developers are copying .cvs files within
> > > the repo in an attempt to fudge it.
> >
> > I don't think that happens (for NetBSD repositories).
>
> I'll let Greg explain the problem.  All I know is, in the current git
> conversion, hashes keep changing.

I agree with Marin that that I don't think the NetBSD repositories
contents have been tampered with directly in recent times in such a way
that the converted repo hashes are perturbed.

I think the current instances of hash munging are due entirely to bugs
in the conversion system, as originally suggested by Benny -- to remain
stable the conversion system must not expand the "poison" CVS keywords
that might expand a pathname to include/remove the "/Attic" part.  There
may also be some other bugs related to CVS keyword expansion by the
conversion process.

Of course fixing these bugs will no doubt perturb the hashes once more.

> > What sometimes happens is that an import goes to the wrong directory
> > (where the directory should not exist at all) and admins are asked to nuke
> > all traces of that bogus import from the repository. That better happens
> > before the (bogus) directory ever entered the repo conversion.

That is however still a case of messing in the repository, and if one's
timing is poor it WILL still corrupt the conversion.

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpn9Vln4n0Bb.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index