Git-like log

Dan Villiom Podlaski Christiansen danchr at gmail.com
Mon Dec 28 14:51:30 CST 2009


On 28 Dec 2009, at 17:15, Tuncer Ayaz wrote:

> I will use both 'log -f' and 'log -b' to view history.
> 
> The confusion arose from the fact that 'hg up default && hg log'
> included commits from the topic (named) branch.
> 
> It might still be useful to have 'hg log --current-branch/-c' and
> set that as a default in hgrc.

I'd suggest an alternative: I've found myself typing ‘hg log -b .’ on occasion, expecting it to refer to the current branch. In my opinion, this would be consistent with how ‘-r .’ refers to the current revision.

--

Dan Villiom Podlaski Christiansen
danchr at gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1943 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial/attachments/20091228/b48d9950/attachment.bin>


More information about the Mercurial mailing list