[Python-Dev] hg branching + log question

Antoine Pitrou solipsis at pitrou.net
Mon Mar 17 21:07:30 CET 2014


On Mon, 17 Mar 2014 13:02:23 -0700
Sean Felipe Wolfe <ether.joe at gmail.com> wrote:
> I'm getting my feet wet with the cpython sources and Mercurial. I'm a
> bit confused -- when I checkout a branch, eg. 3.3, and I do an 'hg
> log', why do I see log messages for other branches?

This is a classic hg question, you would get the answer by asking
Mercurial for help: hg log --help :)

Basically, to restrict the log to a given branch, just use the -b
option: hg log -b 3.3.

Regards

Antoine.




More information about the Python-Dev mailing list