Re: A flaw in finding minimal-complexity symbol conversions?
Greg Ward <[email protected]> Wed, 16 Dec 2009 20:00:04 -0500
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.devel |
|---|---|
| Message-ID | <[email protected]> |
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? 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. 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. 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). See http://vc.gerg.ca/hg/cvs2svn/file/tip/README.cvs2hg for details. It's implemented in http://vc.gerg.ca/hg/cvs2svn/file/tip/cvs2svn_lib/hg_output_option.py -- search for "sloppy". There might also be some cooperating code in dvcs_common.py in the same repo. Greg ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2431010 To unsubscribe from this discussion, e-mail: [[email protected]].