# HG changeset patch # User Sean Farley # Date 2014-04-24 22:42:53 # Node ID b2d6bc6f9c3e6778860d2a9d8ef72003b4c8c78e # Parent 16f62b4203b18f01c261501c77fcc738774f43e6 committablectx: cache _status in _poststatus A future patch will remove the old workingctx.status which caches the status of the working directory, therefore we now cache this status in the poststatus hook of committablectx. diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -1313,6 +1313,7 @@ class workingctx(committablectx): susposed to be linking to. """ s[0] = self._filtersuspectsymlink(s[0]) + self._status = s return s def _dirstatestatus(self, match=None, ignored=False, clean=False,