diff --git a/tests/test-tags b/tests/test-tags --- a/tests/test-tags +++ b/tests/test-tags @@ -85,6 +85,10 @@ hg tag --remove -d '1000000 0' bar hg tip hg tags +echo '% remove nonexistent tag' +hg tag --remove -d '1000000 0' foobar +hg tip + # test tag rank cd .. hg init t3 diff --git a/tests/test-tags.out b/tests/test-tags.out --- a/tests/test-tags.out +++ b/tests/test-tags.out @@ -49,6 +49,14 @@ date: Mon Jan 12 13:46:40 1970 +0 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