comparison tests/test-shelve.t @ 31021:4189d790e8a4

shelve: add -n/--name option to unshelve (issue5475) This makes using shelve/unshelve more consistent because shelving can be done using name option and unshelving as well. Author of the idea of this improvement and solution is joshgold.
author liscju <piotr.listkiewicz@gmail.com>
date Sun, 19 Feb 2017 10:56:08 +0100
parents dfc6663f97ca
children 51934fc796c0
comparison
equal deleted inserted replaced
31020:2d1bf84046f6 31021:4189d790e8a4
491 491
492 $ rm a/a 492 $ rm a/a
493 $ ln -s foo a/a 493 $ ln -s foo a/a
494 $ hg shelve -q -n symlink a/a 494 $ hg shelve -q -n symlink a/a
495 $ hg status a/a 495 $ hg status a/a
496 $ hg unshelve -q symlink 496 $ hg unshelve -q -n symlink
497 $ hg status a/a 497 $ hg status a/a
498 M a/a 498 M a/a
499 $ hg revert a/a 499 $ hg revert a/a
500 500
501 #endif 501 #endif