Mercurial > hg
comparison tests/test-bookmarks-current.t @ 17735:605fe310691f stable
bookmarks: deactivate current bookmark if no name is given
f57f891eb88e added this help text to hg bookmark:
If no NAME is given, the current active bookmark will be marked inactive.
But that was never actually the case.
Originally spotted by Idan Kamara <idankk86@gmail.com>.
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Mon, 08 Oct 2012 00:19:30 +0200 |
parents | 973671fc0804 |
children | 741d94aa92e4 |
comparison
equal
deleted
inserted
replaced
17705:6929b9c70be9 | 17735:605fe310691f |
---|---|
113 $ hg bookmarks | 113 $ hg bookmarks |
114 Y 0:719295282060 | 114 Y 0:719295282060 |
115 Z 0:719295282060 | 115 Z 0:719295282060 |
116 | 116 |
117 $ hg up -q Y | 117 $ hg up -q Y |
118 $ hg bookmark -i | |
119 $ hg bookmarks | |
120 Y 0:719295282060 | |
121 Z 0:719295282060 | |
122 $ hg bookmark -i | |
123 no active bookmark | |
124 $ hg up -q Y | |
118 $ hg bookmarks | 125 $ hg bookmarks |
119 * Y 0:719295282060 | 126 * Y 0:719295282060 |
120 Z 0:719295282060 | 127 Z 0:719295282060 |
121 | 128 |
122 deactivate current bookmark while renaming | 129 deactivate current bookmark while renaming |