mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
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.
This commit is contained in:
parent
da54d7ddc4
commit
6a40a50483
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user