Mercurial > hg
comparison hgext/narrow/narrowdirstate.py @ 48388:f5dea753fe4e
win32text: drop associated dirstate cache information on revert
Otherwise the could get size from one version of the file while the on-disk
version is still clean but with another size.
This fix the previously introduced error.
Differential Revision: https://phab.mercurial-scm.org/D11792
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 23 Nov 2021 03:22:30 +0100 |
parents | cce51119bfe6 |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
48387:f838f5bca038 | 48388:f5dea753fe4e |
---|---|
36 @_editfunc | 36 @_editfunc |
37 def normal(self, *args, **kwargs): | 37 def normal(self, *args, **kwargs): |
38 return super(narrowdirstate, self).normal(*args, **kwargs) | 38 return super(narrowdirstate, self).normal(*args, **kwargs) |
39 | 39 |
40 @_editfunc | 40 @_editfunc |
41 def set_tracked(self, *args): | 41 def set_tracked(self, *args, **kwargs): |
42 return super(narrowdirstate, self).set_tracked(*args) | 42 return super(narrowdirstate, self).set_tracked(*args, **kwargs) |
43 | 43 |
44 @_editfunc | 44 @_editfunc |
45 def set_untracked(self, *args): | 45 def set_untracked(self, *args): |
46 return super(narrowdirstate, self).set_untracked(*args) | 46 return super(narrowdirstate, self).set_untracked(*args) |
47 | 47 |