diff tests/test-commit-interactive.t @ 30157:df224038c516

commit: return 1 for interactive commit with no changes (issue5397) For consistency with non interactive commit
author Philippe Pepiot <philippe.pepiot@logilab.fr>
date Fri, 14 Oct 2016 09:52:38 +0200
parents 8c5e880c7e25
children 75be14993fda
line wrap: on
line diff
--- a/tests/test-commit-interactive.t	Fri Oct 14 03:03:39 2016 +0200
+++ b/tests/test-commit-interactive.t	Fri Oct 14 09:52:38 2016 +0200
@@ -29,6 +29,7 @@
   examine changes to 'empty-rw'? [Ynesfdaq?] n
   
   no changes to record
+  [1]
 
   $ hg tip -p
   changeset:   -1:000000000000
@@ -1376,6 +1377,7 @@
   record this change to 'editedfile'? [Ynesfdaq?] e
   
   no changes to record
+  [1]
   $ cat editedfile
   This change will not be committed
   This is the second line
@@ -1487,6 +1489,7 @@
   record this change to 'editedfile'? [Ynesfdaq?] n
   
   no changes to record
+  [1]
 
 
 random text in random positions is still an error