Mercurial > hg-stable
changeset 21593:b2d6bc6f9c3e
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.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Thu, 24 Apr 2014 17:42:53 -0500 |
parents | 16f62b4203b1 |
children | 9e4567829129 |
files | mercurial/context.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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,