tests/test-commit-interactive.t
changeset 28815 44611ad4fbd9
parent 27478 baa9810ee3ec
child 28962 ad2cd2ef25d9
--- a/tests/test-commit-interactive.t	Wed Apr 06 18:08:38 2016 +0000
+++ b/tests/test-commit-interactive.t	Wed Apr 06 18:19:36 2016 +0000
@@ -59,6 +59,14 @@
   
   
 
+Abort for untracked
+
+  $ touch untracked
+  $ hg commit -i -m should-fail empty-rw untracked
+  abort: untracked: file not tracked!
+  [255]
+  $ rm untracked
+
 Record empty file
 
   $ hg commit -i -d '0 0' -m empty empty-rw<<EOF