[PATCH 6 of 6] Change branches to sort 'active' branches first, and add an option to show only active branches

Eric Hopper hopper at omnifarious.org
Mon Jun 11 22:46:05 CDT 2007


On Mon, Jun 11, 2007 at 05:21:52PM -0700, Brendan Cully wrote:
> Another possibility might be to have something like a .hgbranchignore
> file to filter out branches matching entries in it (or a .hgbranches
> file with the opposite meaning).
> 
> I'm not really in love with any of these approaches yet though...

I like the .hgbranches file.  .hgbranchignore has the problem of having
an unbounded size.  It will also interact strangely with history hole
punching if that's ever implemented because it will mention branches
that may no longer even have any revisions in the truncated repository.

For that matter, 'hg branch' is going to have a hard time telling you
that a branch name already exists when all the revisions of that branch
aren't there.

Have fun (if at all possible),
-- 
"It does me no injury for my neighbor to say there are twenty gods or no God.
It neither picks my pocket nor breaks my leg."  --- Thomas Jefferson
"Go to Heaven for the climate, Hell for the company."  -- Mark Twain
-- Eric Hopper (http://www.omnifarious.org/~hopper) --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20070611/8eee1cf9/attachment.pgp 


More information about the Mercurial-devel mailing list