Mercurial > hg
diff tests/test-tag.t @ 17813:813db1dccc05
test-tag: test that all reserved names are rejected
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Wed, 17 Oct 2012 22:25:41 -0500 |
parents | e432fb4b4221 |
children | 71c1513fd560 |
line wrap: on
line diff
--- 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]