[PATCH] bookmarks: allow pushing active bookmark on new remote head (issue5236)

Sean Farley sean at farley.io
Tue May 24 18:04:54 EDT 2016


liscju <piotr.listkiewicz at gmail.com> writes:

> # HG changeset patch
> # User liscju <piotr.listkiewicz at gmail.com>
> # Date 1464125787 -7200
> #      Tue May 24 23:36:27 2016 +0200
> # Node ID b8913ddebb3dc5f73b1ca2e17206bcfa64bcd217
> # Parent  ceca932c080d0de52ece0e8dd0226f006c7b9cb1
> bookmarks: allow pushing active bookmark on new remote head (issue5236)
>
> Before 'hg push -B .' on new remote head complained with:
> abort: push creates new remote head ...
>
> It was because _nowarnheads was not expanding active bookmark
> name, so it didn't add active bookmark "proper" name to no
> warn heads list.

Ah, nice; looks good to me. Should this be on stable?


More information about the Mercurial-devel mailing list