[issue2107] mq patch loses guards when rebased

Brodie Rao bugs at mercurial.selenic.com
Mon Mar 22 14:38:37 UTC 2010


New submission from Brodie Rao <dackze at gmail.com>:

Rebasing mq patches causes them to lose their guards. They also seem to be 
moved to the beginning of the queue.

Test case:

hg init foo
cd foo
echo a > a
hg ci -Am a
hg qinit
hg qnew foo
hg qguard foo +baz
echo foo > foo
hg qref
hg qpop
hg qnew bar
hg qguard bar +baz
# patch series now has: foo +baz, bar +baz
hg up -C 0
echo b > b
hg ci -Am b
hg up -C 1
echo a >> a
hg qref
hg rebase -d 1
# patch series now has: bar (unguarded), foo +baz

----------
messages: 12115
nosy: brodie
priority: bug
status: unread
title: mq patch loses guards when rebased
topic: 1.5, mq, rebase, surprise

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


More information about the Mercurial-devel mailing list