[issue1191] rollback does not undo local tags

Alexander Chemeris mercurial-bugs at selenic.com
Fri Jun 20 14:18:11 CDT 2008


New submission from Alexander Chemeris <ipse.reg at gmail.com>:

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 at 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 at sipez.com>
date:        Fri Jun 20 23:01:13 2008 +0400
summary:     first

----------
messages: 6370
nosy: ipse
priority: bug
status: unread
title: rollback does not undo local tags

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1191>
____________________________________________________



More information about the Mercurial-devel mailing list