[issue1992] Add alias for the current branch for hg log -b (--only-branch)

Victor Rodriguez bugs at mercurial.selenic.com
Thu Jan 21 15:19:54 UTC 2010


New submission from Victor Rodriguez <victorr at gmail.com>:

This is a feature request to add and alias for the current branch name for
use with hg log --only-branch (-b).

For example, 

    hg log -b .

could "expand" to

    hg log -b default

when the working directory is on the default branch.

In effect the alias could be the equivalent of running 

    hg log -b `hg branch`

in the shell.

----------
messages: 11488
nosy: victorr
priority: feature
status: unread
title: Add alias for the current branch for hg log -b (--only-branch)

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue1992>
____________________________________________________


More information about the Mercurial-devel mailing list