test-tag: test that all reserved names are rejected
authorKevin Bullock <kbullock@ringworld.org>
Wed, 17 Oct 2012 22:25:41 -0500
changeset 17813 813db1dccc05
parent 17812 578fcc22b469
child 17814 f88ca484c3e9
test-tag: test that all reserved names are rejected
tests/test-tag.t
--- a/tests/test-tag.t	Thu Oct 18 17:54:34 2012 +0200
+++ b/tests/test-tag.t	Wed Oct 17 22:25:41 2012 -0500
@@ -40,9 +40,15 @@
   $ hg tag -r 0 x y z y y z
   abort: tag names must be unique
   [255]
-  $ hg tag tap nada dot tip null .
+  $ hg tag tap nada dot tip
   abort: the name 'tip' is reserved
   [255]
+  $ hg tag .
+  abort: the name '.' is reserved
+  [255]
+  $ hg tag null
+  abort: the name 'null' is reserved
+  [255]
   $ hg tag "bleah"
   abort: tag 'bleah' already exists (use -f to force)
   [255]