Mercurial > public > mercurial-scm > hg
diff tests/test-bookmarks-pushpull.t @ 28182:e4fe4e903e97
bookmarks: add 'hg push -B .' for pushing the active bookmark (issue4917)
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Fri, 19 Feb 2016 22:28:09 +0100 |
parents | db90cb1e89c8 |
children | e01bd7385f4f |
line wrap: on
line diff
--- a/tests/test-bookmarks-pushpull.t Sat Feb 20 15:56:44 2016 -0800 +++ b/tests/test-bookmarks-pushpull.t Fri Feb 19 22:28:09 2016 +0100 @@ -103,6 +103,29 @@ deleting remote bookmark W [1] +export the active bookmark + + $ hg bookmark V + $ hg push -B . ../a + pushing to ../a + searching for changes + no changes found + exporting bookmark V + [1] + +delete the bookmark + + $ hg book -d V + $ hg push -B V ../a + pushing to ../a + searching for changes + no changes found + deleting remote bookmark V + [1] + $ hg up foobar + 0 files updated, 0 files merged, 0 files removed, 0 files unresolved + (activating bookmark foobar) + push/pull name that doesn't exist $ hg push -B badname ../a