[PATCH 0 of 5] Various updates to make branches work better.
hopper at omnifarious.org
Tue Jun 5 13:32:49 CDT 2007
On 6/5/07, Matt Mackall <mpm at selenic.com> wrote:
> On Tue, Jun 05, 2007 at 10:46:41AM -0700, Eric Hopper wrote:
> > On 6/5/07, Matt Mackall <mpm at selenic.com> wrote:
> > >
> > >> Lastly, branches is made to not display 'inactive' branches by
> > >> An inactive branch is a branch for which there is no global
> > >> head. A new option '-a' is created for branches to display a list of
> > >> all the branches in the repository.
> > >
> > >That's useful, but problematic. For instance, in the case of hg
> > >itself, the stable branch is constantly folded back into main, so it's
> > >basically never "active" by your definition. Perhaps reversing the
> > >sense of your "-a" from "--all" to "--active" and leaving "all" the
> > >default is more appropriate?
> > I was concerned that I was changing the current default behavior, but I
> > figured with a command that hadn't yet made it into a release that this
> > acceptable. :-)
> > Can you think of a better definition of 'active' than I'm using?
> Well, we could sort by commit date or revision, which will put the
> branches with the most recent activity towards the beginning. I think
> we already do that, in fact.
> > Is anybody here using the branch feature? If so, how? Which default
> > be most useful for you and why?
> Perhaps simply listing branches that are heads first will help
> matters. With a secondary sort by revision.
Yes, that might be a good idea. Would you be willing to go for a visible
marker for branches that are also heads? Maybe a line in the output or a *
by the revision number or something easily awked or grepped out of
If there were some visible marker, I would be happy for the default to be to
show them all. It would be a good reminder to me that some may not be
Please only send email to this account that you consider public enough to be
published on a public web page.
Eric Hopper -- http://www.omnifarious.org/~hopper/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mercurial-devel