p4 to hg

Paul Crowley paul at lshift.net
Thu Jul 17 07:12:54 CDT 2008


Frank Kingswood wrote:
> Paul Crowley wrote:
>> I didn't write this for Git imports, incidentally; I wrote it so that 
>> I could use the git backend to cvs2svn to do CVS imports on 
>> repositories that cvsps was fatally misparsing.
> 
> If it is not too much to ask, does builtin cvsps work on these CVS 
> imports? If not, then I'd appreciate if you could report back.

It turns out I was mistaken.  Parsing the "Branch" and "Ancestor branch" 
lines of the "cvsps" output myself (using a parser based on the "hg 
convert" parser) gives me a plausible-looking revision tree.  For some 
reason this results in an hg repository whose revision tree is clearly 
wrong.

I'm afraid I can't share the CVS repository that results in this error, 
though I'll continue to investigate from here.  How heavily tested is 
"hg convert" against CVS trees that contain several branches?
-- 
   [][][] Paul Crowley
     [][] LShift Ltd
   []  [] www.lshift.net


More information about the Mercurial mailing list