[PATCH 0 of 3] invalidate method for mq

Martin Geisler mg at lazybytes.net
Tue May 19 16:58:14 CDT 2009


Simon Heimberg <simohe at besonet.ch> writes:

> With this patches, mq is more similar to dirstate.
>
> #1 reads the files when they are needed.

> #2 introduces the method invalidate for mq. This is useful for GUI
>    clients when they want to reload the mq state and not the whole repo.

Thanks for the explaination -- when I looked at the patches way back I
didn't see why they were needed and sort of forgot about them. I've now
pushed the two first to crew (21c87b299a04 and b169ba60eebe).

> #3 invalidates the mq when the repo is invalidated. Not sure if this
>    is a good idea.

Nope, all the mq tests fail with this one. Some of the mq code
invalidates the repo, which now invalidates the mq -- maybe this
circular interaction isn't working?

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090519/3fe20491/attachment.pgp 


More information about the Mercurial-devel mailing list