Mercurial > hg
comparison tests/test-bookmarks.t @ 17868:04755508f8ed stable
test-bookmarks.t: check that bookmark "default" is not automatically checked out
This verifies that c9339efed653 fixes the problem originally reported in
issue3677.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 26 Oct 2012 13:09:55 +0200 |
parents | 71c1513fd560 |
children | 7d2dd10ce9ea |
comparison
equal
deleted
inserted
replaced
17867:c9339efed653 | 17868:04755508f8ed |
---|---|
391 a@ 2:db815d6d32e6 | 391 a@ 2:db815d6d32e6 |
392 x y 2:db815d6d32e6 | 392 x y 2:db815d6d32e6 |
393 | 393 |
394 $ hg bookmark -d @ | 394 $ hg bookmark -d @ |
395 $ hg bookmark -d a@ | 395 $ hg bookmark -d a@ |
396 | |
397 test clone with a bookmark named "default" (issue3677) | |
398 | |
399 $ hg bookmark -r 1 -f -i default | |
400 $ hg clone . cloned-bookmark-default | |
401 updating to branch default | |
402 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
403 $ hg -R cloned-bookmark-default bookmarks | |
404 X2 1:925d80f479bb | |
405 Y 2:db815d6d32e6 | |
406 Z 2:db815d6d32e6 | |
407 default 1:925d80f479bb | |
408 x y 2:db815d6d32e6 | |
409 $ hg -R cloned-bookmark-default parents -q | |
410 2:db815d6d32e6 | |
411 $ hg bookmark -d default | |
396 | 412 |
397 test clone with a specific revision | 413 test clone with a specific revision |
398 | 414 |
399 $ hg clone -r 925d80 . cloned-bookmarks-rev | 415 $ hg clone -r 925d80 . cloned-bookmarks-rev |
400 adding changesets | 416 adding changesets |