Converting from mercurial to mercurial: "update tags" and new heads
Adrian Klaver
adrian.klaver at gmail.com
Mon Feb 18 21:24:21 UTC 2013
On 02/18/2013 11:06 AM, Francesco Lodolo wrote:
> Hi,
> I'm trying to convert a big Mercurial repository (over 120k changesets
> at the moment) into a smaller one, including only a limited set of
> files. Right now I'm using Mercurial 2.2.2 on a Debian server for my tests.
>
> I'm using "hg convert" with a filemap that includes only some paths from
> the original repository. Periodically I update the main repository and
> run the conversion again. Everything works fine except that:
>
> * At the end of the first conversion I have an automatic commit, made
> by convert-repo and with a message "Update tags".
> * Every time I run the conversion process, I have a similar commit and
> I end up with with multiple heads, so I'm forced to merge, adding
> unnecessary changes to the original history of the source repository.
>
> I searched around but I couldn't find a solution. I also tried to
> explicitly exclude .hgtags with a rule in filemap but it doesn't work.
> Any suggestion? Is it possible to ignore tags in the conversion process
> or avoid this automatic "update tags"?
So do you have only one branch in the original repository?
>
> Francesco
>
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
--
Adrian Klaver
adrian.klaver at gmail.com
More information about the Mercurial
mailing list