tests/test-remove.t
branchstable
changeset 17848 66f0c78350ab
parent 16913 f2719b387380
child 17861 3125af2d99d2
--- a/tests/test-remove.t	Sat Oct 20 21:43:46 2012 -0400
+++ b/tests/test-remove.t	Mon Oct 22 16:06:47 2012 -0500
@@ -265,4 +265,17 @@
   nothing changed
   [1]
 
-  $ cd ..
+handling of untracked directories and missing files
+
+  $ mkdir d1
+  $ echo a > d1/a
+  $ hg rm --after d1
+  not removing d1: no tracked files
+  [1]
+  $ hg add d1/a
+  $ rm d1/a
+  $ hg rm --after d1
+  removing d1/a
+  $ hg rm --after nosuch
+  nosuch: No such file or directory
+  [1]