mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
workingctx: duplicate status list received at _poststatus hook
basectx.status may reorder the list after workingctx._poststatus is called, so workingctx must copy it. Otherwise, wctx.deleted() would return "unknown" files, for example.
This commit is contained in:
parent
b97e831462
commit
0215b66d65
@ -1375,7 +1375,7 @@ class workingctx(committablectx):
|
||||
susposed to be linking to.
|
||||
"""
|
||||
s[0] = self._filtersuspectsymlink(s[0])
|
||||
self._status = s
|
||||
self._status = s[:]
|
||||
return s
|
||||
|
||||
def _dirstatestatus(self, match=None, ignored=False, clean=False,
|
||||
|
Loading…
Reference in New Issue
Block a user