D6699: tests: add test for unshelve --interactive --keep

navaneeth.suresh (Navaneeth Suresh) phabricator at mercurial-scm.org
Sat Jul 27 00:11:52 EDT 2019


navaneeth.suresh created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6699

AFFECTED FILES
  tests/test-shelve.t

CHANGE DETAILS

diff --git a/tests/test-shelve.t b/tests/test-shelve.t
--- a/tests/test-shelve.t
+++ b/tests/test-shelve.t
@@ -1420,7 +1420,7 @@
   
 #endif
 
-  $ hg unshelve --continue <<EOF
+  $ hg unshelve --continue --keep <<EOF
   > y
   > y
   > EOF
@@ -1437,3 +1437,6 @@
   (enter ? for help) [Ynesfdaq?] y
   
   unshelve of 'default-01' complete
+  $ hg shelve --list
+  default-01      (1s ago)    changes to: add A to bars
+  default         (1s ago)    changes to: add B to foo



To: navaneeth.suresh, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list