shelve: remove strip and rely on prior state (issue6735)
authorJason R. Coombs <jaraco@jaraco.com>
Wed, 24 Aug 2022 15:15:04 -0400
changeset 49455 744b341782f4
parent 49454 34dddc5d2e2f
child 49456 cdfba684b6a1
shelve: remove strip and rely on prior state (issue6735)
tests/test-shelve.t
--- a/tests/test-shelve.t	Wed Aug 17 10:17:15 2022 -0400
+++ b/tests/test-shelve.t	Wed Aug 24 15:15:04 2022 -0400
@@ -1546,7 +1546,6 @@
 -- if phasebased, shelve works without patch and bundle
 
   $ hg update -q --clean .
-  $ hg strip -q -r 0
   $ rm -r .hg/shelve*
   $ echo import antigravity >> somefile.py
   $ hg add somefile.py
@@ -1559,7 +1558,7 @@
 shelve --list --patch should work even with no patch file.
 
   $ hg shelve --list --patch
-  default         (*s ago) * (changes in empty repository) (glob)
+  default         (*s ago) * changes to: add C to bars (glob)
   
   diff --git a/somefile.py b/somefile.py
   new file mode 100644