# HG changeset patch # User Kevin Bullock # Date 1350530741 18000 # Node ID 813db1dccc052ad35f89feab4730ee8bfc54cc10 # Parent 578fcc22b46981f0b05743515a83b6ba1694b2ad test-tag: test that all reserved names are rejected diff -r 578fcc22b469 -r 813db1dccc05 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]