Re: A flaw in finding minimal-complexity symbol conversions?

Max Bowsher <[email protected]> Thu, 17 Dec 2009 06:02:21 +0000
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <[email protected]>
Greg Ward wrote:
> On Mon, Dec 14, 2009 at 7:05 PM, Max Bowsher <[email protected]> wrote:
>> I've been staring at a CVS repository I need to convert and one thing I
>> note is that there are often cases where a branch and a tag sprout from
>> the same point and need exactly the same fixup changes.
> 
> You mean, like <branch>-start tags?

Exactly.

> I have one of those for every
> release branch in my CVS repo (~40 of them), and I don't seem to have
> duplicate fixup commits in my Mercurial output.

Well, if the tag was made properly, it shouldn't require a fixup at all
- it's only if the tagging operation somehow missed some files, or
cherrypicked other revisions of files.

> Hmmmmm.  I wonder if this has anything to do with my cute "sloppy
> fixups" hack.  The idea of sloppy fixups is to suppress a fixup that
> only deletes files, since that is almost certainly a CVS partial tag.

Makes sense.

> Anyone using Mercurial (or git or, probably, svn) from day 1 probably
> would not go to the trouble of tagging only part of the tree, so IMHO
> "idiomatic" conversion demands a way to turn partial tags into plain
> ordinary tags (ditto branches).

Well, it's a fine line - do you insist that the result of checking out a
tag should have no differences between CVS and the destination VCS, or
do you permit idiomatic interpretations. But I agree it's a useful
option to allow.

Max.

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2431043

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkspyXUACgkQfFNSmcDyxYCkpQCgsL8H3G2Ko4Hed/Qvw7R9/b7Z
eiEAoJXt31Y9L4JQ9ENXCcvlYXz2XwI+
=FwBN
-----END PGP SIGNATURE-----