--- a/tests/test-tags Fri Jun 15 14:48:21 2007 -0500
+++ b/tests/test-tags Wed Jun 20 18:09:40 2007 -0700
@@ -85,6 +85,10 @@
hg tip
hg tags
+echo '% remove nonexistent tag'
+hg tag --remove -d '1000000 0' foobar
+hg tip
+
# test tag rank
cd ..
hg init t3
--- a/tests/test-tags.out Fri Jun 15 14:48:21 2007 -0500
+++ b/tests/test-tags.out Wed Jun 20 18:09:40 2007 -0700
@@ -49,6 +49,14 @@
summary: Removed tag bar
tip 5:57e1983b4a60
+% remove nonexistent tag
+abort: tag foobar does not exist
+changeset: 5:57e1983b4a60
+tag: tip
+user: test
+date: Mon Jan 12 13:46:40 1970 +0000
+summary: Removed tag bar
+
tip 5:d8bb4d1eff25
bar 0:b409d9da318e
1 files updated, 0 files merged, 0 files removed, 0 files unresolved