[PATCH] Make convert-repo put tags on the branches where they apply

Matt Mackall mpm at selenic.com
Mon Feb 26 17:00:33 CST 2007


On Mon, Feb 26, 2007 at 01:44:07PM -0800, Brendan Cully wrote:
> > I think we should instead use repo.tags().
> 
> Won't that drag in all the tags from all the branches? I'd rather only
> have the ones that belong on the branch. Otherwise, among other
> things, if I clone -r <head> . ../foo; hg -R ../foo tags will probably
> complain about a bunch of missing nodes.

We probably want a slightly different strategy here. convert-repo is
adding tags by writing a whole new .hgtags file directly. What would
be better is to do something more like the 'hg tag' command if we
detect that a tag doesn't exist.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial-devel mailing list