[patch] limit log to a single branch

Steve Borho steve at borho.org
Sun Feb 10 19:37:26 CST 2008


On Fri, 2008-02-08 at 21:35 -0800, Dustin Sallings wrote:
> On Feb 8, 2008, at 21:24, Bryan O'Sullivan wrote:
> 
> > Good patch, bad name for the long option.  Something like --only- 
> > branch
> > would be more appropriate, as it makes it clear what's going on.
> 
> 
> 	I'm terrible with names, thanks.
> 
> 	I changed it per your recommendation and added a test (added it to  
> the branch test since it already did all the setup).
> 
> 	http://hg.west.spy.net/hg/hacks/hg/
> 	http://hg.west.spy.net/hg/hacks/hg/rev/57c1a7052982

TortoiseHg has a 'branch filter' for it's changelog grapher.  It starts
at the branch tip and walks backwards only showing changesets explicitly
marked as part of the branch their ancestors.

Would people be interested in me back-porting this to the graphlog
extension?

-- 
Steve Borho (steve at borho.org)
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F  E2E4 B0C2 5292 F2C6 2C8C



More information about the Mercurial mailing list