Clone subdir only from a large repository?
rubik
rubik at sina.com
Fri Jul 18 06:40:59 UTC 2008
Giorgos Keramidas <keramida <at> ceid.upatras.gr> writes:
>
> For example, if you have a source repository at `/hg/foo' and you want
> to split the `lib/libexample' part of the `foo' repository, you can
> create a filemap like this:
>
> % cat /tmp/my-filemap
> include lib/libexample
> rename libexample .
> %
>
> THen you can run the "hg convert" extension like this:
>
> % hg convert --filemap /tmp/my-filemap /hg/foo /hg/libexample
>
helpful.
I enabled convert extension: hgext.convert =
and it works.
thank you very much.
More information about the Mercurial
mailing list