[PATCH] branches: add an '--open' option to show only open branches

John Mulligan phlogistonjohn at asynchrono.us
Fri Jun 5 07:18:57 CDT 2009


On Fri, Jun 05, 2009 at 08:41:30AM +0200, Dirkjan Ochtman wrote:
> On Fri, Jun 5, 2009 at 7:23 AM, Steve Losh<steve at stevelosh.com> wrote:
> > # HG changeset patch
> > # User Steve Losh <steve at stevelosh.com>
> > # Date 1244164279 14400
> > # Node ID 97282eac6049fdb8d0e4239701124c3998774cde
> > # Parent  de6bb29e208a6e1d3e68bc7840e5798377082c30
> > branches: add an '--open' option to show only open branches
> 
> I'd prefer to add a --closed option, for symmetry with heads, and
> don't display closed branches by default. I have the beginnings of a
> patch for that, too (but see issue1104 for a question I came up with
> during development).
> 

I agree with using --closed, and not displaying fully closed branches by
default.
There are apparently three of us looking at this currently. :-)

I'm not sure about the tolocal issue, but I do know that the input
of 'hg branch' is run through fromlocal. So I thought the dirstate and
branch cache were storing in utf8 and the tolocal was to get the branch
names into a display-able state. But I could be wrong.



> Cheers,

> 
> Dirkjan
> 
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list