Move folder out of one repo and into its own repo
Matt Mackall
mpm at selenic.com
Thu May 6 22:54:12 UTC 2010
On Thu, 2010-05-06 at 17:28 -0500, Matt Schulte wrote:
> > 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"
I guess so, I've never used it myself.
> Then run:
>
> hg convert --config convert.hg.startrev=0 --filemap filtmap.txt sourcecode
Not sure what the startrev thing is for, it should default to the
beginning of time.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list