ANN: branchhead extension
Kevin Bullock
kbullock at ringworld.org
Fri Oct 16 15:11:08 CDT 2009
On 16 Oct 2009, at 5:35 AM, Hans Meine wrote:
> On Thursday 15 October 2009 06:37:41 Kevin Bullock wrote:
>> The branchhead extension shows the head of the branch the current
>> working directory is on. This is useful if your repository has
>> multiple anonymous branches and you want to update to the head of the
>> one you're currently on.
>
> ..if you forgot that a simple "hg up" will do exactly that. ;-p
...so long as the head of the branch you're currently on is also the
repo tip. Otherwise, `hg up` bails with
abort: crosses branches (use 'hg merge' or 'hg update -C')
However, once I had finished writing and announcing the extension, I
did realize that `hg heads -r .` will do exactly the same thing that
`branchhead` does. Oh well, it was educational. :)
pacem in terris / mir / shanti / salaam / heiwa
Kevin R. Bullock
More information about the Mercurial
mailing list