committablectx: cache _status in _poststatus
authorSean Farley <sean.michael.farley@gmail.com>
Thu, 24 Apr 2014 17:42:53 -0500
changeset 21593 b2d6bc6f9c3e
parent 21592 16f62b4203b1
child 21594 9e4567829129
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.
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,