[RFC] convert-repo enhancements

Brendan Cully brendan at kublai.com
Mon Feb 26 21:09:35 UTC 2007


On Monday, 26 February 2007 at 10:57, Brendan Cully wrote:
> On Saturday, 24 February 2007 at 16:23, Edouard Gomez wrote:
> > Brendan Cully (brendan at kublai.com) wrote:
> > > > 07 - Enh - Always add tags the same branch
> > > 
> > > I think it might be nicer if tags go onto the same branch that they
> > > tag. I noticed while pulling apart my converted mutt repository that
> > > if I cloned -r <stable branch>, I ended up with a repository that had
> > > no tag info at all. I would rather it had the tags applied to stable.
> > 
> > I'm ok  with your argument,  it'd be good  if clone -r <branch>  had its
> > tags somewhere. But i am not  so sure that it's good to disturb original
> > history with tag nodes.
> > 
> > Is there a way  to have tags aside the branch and  clone -r getting that
> > tags ?
> 
> No, I don't think so. By the way, along those lines I think it might
> be a bit nicer if tag commits were inlined in the history as they were
> discovered, rather than being applied at the end of the round. You'd
> get a more repeatable conversion that way too.

I've just posted a patch that takes this approach. Comments welcome.



More information about the Mercurial-devel mailing list