hg convert misses files
Mads Kiilerich
mads at kiilerich.com
Sat May 28 21:56:42 UTC 2011
Raymond Toy wrote, On 05/28/2011 11:08 PM:
> For the record, here is exactly what I'm doing.
>
> # Fresh clone into /tmp.
> cd /tmp
> hg clone http://clocc.hg.sourceforge.net:8000/hgroot/clocc/clocc
> # The file clocc/src/f2cl/src/f2cl7.l exists
>
> # The map file
> cat /tmp/f2cl.map
> include src/f2cl
> rename src/f2cl .
>
> # Do the conversion
> hg convert --filemap=f2cl.map /tmp/clocc /tmp/f2cl
>
> # When conversion is done, clone the new repo
> hg clone /tmp/f2cl f2cl-new
>
> # Now the file f2cl/src/f2cl7.l doesn't exist. But it is in the
> # original clocc/src/f2cl/src directory.
>
> Since the clocc repo is itself a conversion from CVS to mercurial
I assume it was converted with cvs2hg? Then it is the issue reported in
http://mercurial.selenic.com/bts/issue2538 .
/Mads
More information about the Mercurial
mailing list