Move folder out of one repo and into its own repo

Matt Schulte matts at commtech-fastcom.com
Thu May 6 22:28:40 UTC 2010


> Look at the --filemap option to hg convert. It can be used on either a
> cvs->hg or hg->hg conversion.
>    
So would it look something like this:

I have a repository /sourcecode

filemap.txt:
exclude "sourcecode"
include "sourcecode/driverX"
rename "sourcecode/driverX" "driverX"

Then run:

hg convert --config convert.hg.startrev=0 --filemap filtmap.txt sourcecode

?










More information about the Mercurial mailing list