Message6370

Author ipse
Recipients
Date 2008-06-20.19:18:11
Content
Seems like using mercurial makes you used to this bugtracker..
One more bug.

When you've set local tag on last revision and then rollback it, local tag is
not removed, causing error message:

  localtags, line 1: tag 'second' refers to unknown node

Way to reproduce:


C:\Temp>hg --version 
Mercurial Distributed SCM (version 1.0.1+20080525)

Copyright (C) 2005-2008 Matt Mackall <mpm@selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

C:\Temp>hg init 

C:\Temp>echo  1>1.txt 

C:\Temp>hg add 
adding 1.txt
adding cmd.cmd
adding log.log

C:\Temp>hg ci -m "first" 

C:\Temp>echo  1>2.txt 

C:\Temp>hg add 
adding 2.txt

C:\Temp>hg ci -m "second" 

C:\Temp>hg tag -l "second" 

C:\Temp>hg rollback 
rolling back last transaction

C:\Temp>hg log 
localtags, line 1: tag 'second' refers to unknown node
changeset:   0:9e23f71fc1d4
tag:         tip
user:        Alexander Chemeris <Alexander.Chemeris@sipez.com>
date:        Fri Jun 20 23:01:13 2008 +0400
summary:     first
History
Date User Action Args
2008-06-20 19:18:57ipseunlinkissue1191 messages
2008-06-20 19:18:11ipsesetmessageid: <1213989491.86.0.374756701722.issue1191@selenic.com>
2008-06-20 19:18:11ipselinkissue1191 messages
2008-06-20 19:18:11ipsecreate