tests/test-add.t
changeset 36200 deb851914fd7
parent 35704 41ef02ba329b
child 36939 45bfcd16f27e
--- a/tests/test-add.t	Sun Jan 21 17:04:42 2018 +0900
+++ b/tests/test-add.t	Fri Jan 26 19:48:39 2018 +0900
@@ -146,6 +146,13 @@
   M a
   ? a.orig
 
+excluded file shouldn't be added even if it is explicitly specified
+
+  $ hg add a.orig -X '*.orig'
+  $ hg st
+  M a
+  ? a.orig
+
 Forgotten file can be added back (as either clean or modified)
 
   $ hg forget b