hg inc - single branch view by default

anatoly techtonik techtonik at gmail.com
Sat Dec 13 11:42:08 UTC 2014


People have limited attention span. While working with multiple branch
repository, would it be more efficient to concentrate on a single
branch at a time and request all other branches only when it is
needed?

I often find myself confused when reviewing hg inc output, because I
fail to spot the tag branch: in changeset header. If I knew that I am
only reviewing single branch, that I can request full changes and knew
what other branches were changes - that would help me a lot to get
what's happening. For example, current header:

$ hg inc
comparing with ssh://techtonik@hg.code.sf.net/p/roundup/code
searching for changes
all local heads known remotely
changeset:   4926:91029cc0dc59
branch:      routing
parent:      4921:35dc9191394d
parent:      4922:24209344b507
user:        anatoly techtonik <techtonik at gmail.com>
date:        Tue Aug 12 01:10:59 2014 +0300
files:       roundup/cgi/client.py
description:
routing: merge changes from default

New header:

$ hg inc
comparing with ssh://techtonik@hg.code.sf.net/p/roundup/code
summary of remote changes by branch
   default (no changes)
   routing (changed, showing)       +5 commits, needs merge
   stats   (changed, not showing)  +10 commits

changeset:   4926:91029cc0dc59
branch:      routing
parent:      4921:35dc9191394d
...


?

Please, CC.


More information about the Mercurial mailing list