hg convert vs. strange svn repo...
Greg Ward
greg-hg at gerg.ca
Tue Jan 12 08:12:55 CST 2010
On Tue, Jan 12, 2010 at 1:58 AM, Ryan C. Gordon <icculus at icculus.org> wrote:
> So how do I untangle this thing? Is this a bug in hg convert, or is it doing
> the right thing with my wrong data? In any case, is there a reasonable way
> to coerce hg convert to work with this, or a reasonable way to manipulate a
> dump of the svn repo into a form that Mercurial would be more happy to
> parse?
hg's svn converter assumes the standard /trunk, /branches, /tags
layout. Apparently that applies at every input revision, so it does
indeed get confused by your /trunk-less revision(s).
Two ideas:
1) use svn's dump-and-filter tools to magically alter your svn history
into something that 'hg convert' can handle
2) improve hg convert's handling of oddball svn repositories
#2 is a bigger pill to swallow, but more people will benefit in the
long run. ;-)
Greg
More information about the Mercurial
mailing list