[PATCH 0 of 3] invalidate method for mq

Sabina und Simon Heimberg s.heimberg at bluewin.ch
Thu May 14 09:40:03 CDT 2009


Is something wrong with #1 and #2? All tests pass (except of those who
do not anyway).

In in tortoisehg, I would like to use repo.mq.invalidate instead of
repo.mq = repo.mq.__class__(repo.mq.ui, repo.mq.basepath, repo.mq.path)
And not reading the mq files for a simple command as status gains some
time.

Greetings,
Simon

Am Dienstag, den 05.05.2009, 11:13 +0000 schrieb Simon Heimberg:
> 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.
> #3 invalidates the mq when the repo is invalidated. Not sure if this is a good idea.
> 
> Greetings,
> Simon


More information about the Mercurial-devel mailing list