tracking of "branch nicknames"

Ronny Pfannschmidt Ronny.Pfannschmidt at gmx.de
Sat Feb 21 11:57:39 CST 2009


On Fr, 2009-02-20 at 07:36 -0700, Bill Barry wrote:
> Ronny Pfannschmidt wrote:
> > Hi,
> >
> > while working with bzr i noticed that it records the last path component
> > of the current workdir as "branch nick".
> >
> > I think this would be nice optional addition as it helps tracking
> > directory based feature branches for later analysis.
> >
> > Should i provide a patch or extension to add this as opt-in (or even
> > default) ?
> >
> > regards Ronny
> >   
> It looks like 'bzr nick' works just like 'hg branch'.
> If so, you could create an extension which wrapped clone and init (and 
> maybe qclone) to call hg branch after getting the repository.

There is some semantic difference between those 2.
Named branches are explicit chosen for some reasons.
Branch nicks are implied tracked path names.

Also branch names affect various commands 
and cause active/inactive named branches to exist.

I think the difference is large enough to keep those apart.

Regards Ronny



More information about the Mercurial-devel mailing list