tests/test-inhibit.t
changeset 1538 ef5da2310398
parent 1537 50e683d9835e
child 1540 5a1cfb1160a6
--- a/tests/test-inhibit.t	Wed Nov 18 13:47:26 2015 -0800
+++ b/tests/test-inhibit.t	Fri Nov 20 10:30:42 2015 -0800
@@ -305,6 +305,16 @@
   |
   o  0:54ccbc537fc2 add cA
   
+Test edge cases of bookmark -D
+  $ hg book -D book2 -m hello
+  abort: Cannot use both -m and -D
+  [255]
+
+  $ hg book -Draster-fix
+  abort: Error, please check your command
+  (make sure to put a space between -D and your bookmark name)
+  [255]
+
 Test that direct access make changesets visible
 
   $ hg export 2db36d8066ff 02bcbc3f6e56