Mercurial > hg
comparison tests/test-bookmarks.t @ 33913:5cd6d4826f9f
bookmarks: allow deleting active bookmark using '.'
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 24 Aug 2017 09:23:06 +0200 |
parents | 10f1809ab98f |
children | 83313639b8a4 |
comparison
equal
deleted
inserted
replaced
33912:e278d6d2d7d2 | 33913:5cd6d4826f9f |
---|---|
210 $ hg book -m . renamed | 210 $ hg book -m . renamed |
211 abort: no active bookmark | 211 abort: no active bookmark |
212 [255] | 212 [255] |
213 $ hg up -q Y | 213 $ hg up -q Y |
214 $ hg book -d rename-me | 214 $ hg book -d rename-me |
215 | |
216 delete bookmark using . | |
217 | |
218 $ hg book delete-me | |
219 $ hg book -d . | |
220 $ hg bookmark | |
221 X2 1:925d80f479bb | |
222 Y 2:db815d6d32e6 | |
223 Z 0:f7b1eb17ad24 | |
224 $ hg up -q Y | |
225 | |
226 delete bookmark using . with no active bookmark | |
227 | |
228 $ hg book delete-me | |
229 $ hg book -i delete-me | |
230 $ hg book -d . | |
231 abort: no active bookmark | |
232 [255] | |
233 $ hg up -q Y | |
234 $ hg book -d delete-me | |
215 | 235 |
216 list bookmarks | 236 list bookmarks |
217 | 237 |
218 $ hg bookmark | 238 $ hg bookmark |
219 X2 1:925d80f479bb | 239 X2 1:925d80f479bb |