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

Brendan Cully brendan at kublai.com
Mon Jun 11 19:21:52 CDT 2007


On Thursday, 07 June 2007 at 15:58, Eric Hopper wrote:
> # HG changeset patch
> # User Eric Hopper <hopper at omnifarious.org>
> # Date 1181256560 25200
> # Node ID 2de8ff77d4f6c08577903153e0a2bfb6f9ad9844
> # Parent  aa3b7f16a887f0a2849499b847248ad89d4f5d6d
> Change branches to sort 'active' branches first, and add an option to show only active branches.

I'm not sure about this definition of active. As mpm mentioned
earlier, a stable branch that has been merged into devel will be
artificially inactive. Likewise, it's possible to have lots of
basically inactive branches that have repo-wide heads. The mutt
repository has these for most of its branches, most of which haven't
seen any activity for years.

I kicked around on IRC the idea of having a branch name like
'inactive', which would hide by default any branches who have
'inactive' as a child revision of the branch tip. 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...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20070611/893e341d/attachment.pgp 


More information about the Mercurial-devel mailing list