Mercurial > hg
changeset 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 | 578fcc22b469 |
children | f88ca484c3e9 |
files | tests/test-tag.t |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
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]