# HG changeset patch # User Sean Farley # Date 1398379373 18000 # 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 -r 16f62b4203b1 -r b2d6bc6f9c3e mercurial/context.py --- a/mercurial/context.py Thu Apr 24 17:31:20 2014 -0500 +++ b/mercurial/context.py Thu Apr 24 17:42:53 2014 -0500 @@ -1313,6 +1313,7 @@ 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,