[PATCH STABLE] rollback: always call destroyed() (regression from 1.9)

Greg Ward greg-hg at gerg.ca
Thu Dec 1 19:16:51 CST 2011


On Thu, Dec 1, 2011 at 8:02 PM, Greg Ward <greg-hg at gerg.ca> wrote:
>>> rollback: always call destroyed() (regression from 1.9)
>>
>> Queued for 2.0.2, thanks.
>
> I thought of a way to test this shortly after sending it. hg tag
> followed by hg rollback -- the new tag should *not* appear in hg tags
> output. I'll send a separate patch, if you don't mind qfold'ing them.

Never mind; I misremembered how rollback + destroyed() affect the tag
cache. I don't see an easy way to reproduce this in a test, short of a
tiny extension. (I found it because I have an extension that depends
on rollback calling destroyed(), and its test failed under 2.0.)

Greg


More information about the Mercurial-devel mailing list