# HG changeset patch # User Kevin Bullock # Date 2012-10-18 03:25:41 # Node ID 813db1dccc052ad35f89feab4730ee8bfc54cc10 # Parent 578fcc22b46981f0b05743515a83b6ba1694b2ad test-tag: test that all reserved names are rejected diff --git a/tests/test-tag.t b/tests/test-tag.t --- a/tests/test-tag.t +++ b/tests/test-tag.t @@ -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]