Show More
@@ -749,7 +749,6 b' class dirstate(object):' | |||
|
749 | 749 | if self._map.dropfile(filename): |
|
750 | 750 | self._dirty = True |
|
751 | 751 | self._updatedfiles.add(filename) |
|
752 | self._map.copymap.pop(filename, None) | |
|
753 | 752 | |
|
754 | 753 | def _discoverpath(self, path, normed, ignoremissing, exists, storemap): |
|
755 | 754 | if exists is None: |
@@ -316,6 +316,7 b' class dirstatemap(object):' | |||
|
316 | 316 | old_entry = self._map.pop(f, None) |
|
317 | 317 | self._dirs_decr(f, old_entry=old_entry) |
|
318 | 318 | self.nonnormalset.discard(f) |
|
319 | self.copymap.pop(f, None) | |
|
319 | 320 | return old_entry is not None |
|
320 | 321 | |
|
321 | 322 | def clearambiguoustimes(self, files, now): |
@@ -652,8 +653,9 b' if rustmod is not None:' | |||
|
652 | 653 | def removefile(self, *args, **kwargs): |
|
653 | 654 | return self._rustmap.removefile(*args, **kwargs) |
|
654 | 655 | |
|
655 | def dropfile(self, *args, **kwargs): | |
|
656 |
|
|
|
656 | def dropfile(self, f, *args, **kwargs): | |
|
657 | self._rustmap.copymap().pop(f, None) | |
|
658 | return self._rustmap.dropfile(f, *args, **kwargs) | |
|
657 | 659 | |
|
658 | 660 | def clearambiguoustimes(self, *args, **kwargs): |
|
659 | 661 | return self._rustmap.clearambiguoustimes(*args, **kwargs) |
General Comments 0
You need to be logged in to leave comments.
Login now