Mercurial > hg-stable
changeset 4651:7176f278d6f9
Test attempt to remove nonexistent tag
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Wed, 20 Jun 2007 18:09:40 -0700 |
parents | 15e22b483adc |
children | 06de65673ec2 |
files | tests/test-tags tests/test-tags.out |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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