[issue2633] MQ and rollback do not get along

André Sintzoff <bugs@mercurial.selenic.com> at mercurial.selenic.com André Sintzoff <bugs@mercurial.selenic.com> at mercurial.selenic.com
Mon Feb 7 18:58:41 UTC 2011


New submission from André Sintzoff <andre.sintzoff at gmail.com>:

MQ and rollback do not get along.

According to a discussion on thg-dev mailing list
http://groups.google.com/group/thg-dev/msg/7a12314236f273a2

"Most MQ commands delete the undo file to prevent breakage.  Looks like 
qimport needs to delete undo as well."


How to reproduce the issue:
$ hg init bug-mq-rollback
$ cd bug-mq-rollback/
$ echo foo > foo.txt
$ hg add foo.txt 
$ more foo.txt 
$ cat foo.txt 
$ hg commit -m"add foo.txt"
$ echo bar >> foo.txt 
$ cat foo.txt 
$ hg commit -m"modify foo.txt"
$ hg qimport -r tip
$ hg rollback
$ hg tags
mq status file refers to unknown node 06fbde719255
tip                                0:f3735d0a7480

At that point, the status file is incorrect.
Once the repository is in that state, it is no more usable with the latest 
TortoiseHg version (1.9.2).

----------
messages: 15153
nosy: sintzoff
priority: bug
status: unread
title: MQ and rollback do not get along

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


More information about the Mercurial-devel mailing list