Mercurial > public > mercurial-scm > hg-stable
diff tests/test-bookmarks-pushpull.t @ 29229:89bba2beb03e stable
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.
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Tue, 24 May 2016 23:36:27 +0200 |
parents | e01bd7385f4f |
children | af849596752c |
line wrap: on
line diff
--- a/tests/test-bookmarks-pushpull.t Thu May 12 06:13:59 2016 -0700 +++ b/tests/test-bookmarks-pushpull.t Tue May 24 23:36:27 2016 +0200 @@ -690,7 +690,7 @@ $ echo c5 > f2 $ hg ci -Am5 created new head - $ hg push -B W + $ hg push -B . pushing to http://localhost:$HGPORT/ searching for changes remote: adding changesets