changeset 49454:34dddc5d2e2f

shelve: in test for trailing whitespace, strip commit (issue6735)
author Jason R. Coombs <jaraco@jaraco.com>
date Wed, 17 Aug 2022 10:17:15 -0400
parents ffb130cd3f27
children 744b341782f4
files tests/test-shelve.t
diffstat 1 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-shelve.t	Mon Aug 15 10:26:01 2022 -0400
+++ b/tests/test-shelve.t	Wed Aug 17 10:17:15 2022 -0400
@@ -1534,20 +1534,14 @@
   $ hg update -q --clean .
   $ hg patch -p1 test_patch.patch
   applying test_patch.patch
+
+  $ hg strip -q -r .
 #endif
 
-
 Check the comment of the last commit for consistency
 
-#if no-windows
-  $ hg log -r . --template '{desc}\n'
-  changes to: add C to bars
-#endif
-
-#if windows
   $ hg log -r . --template '{desc}\n'
   add C to bars
-#endif
 
 -- if phasebased, shelve works without patch and bundle