Show More
@@ -109,6 +109,12 b' class _dirstatemapcommon(object):' | |||
|
109 | 109 | |
|
110 | 110 | ### method to manipulate the entries |
|
111 | 111 | |
|
112 | def set_possibly_dirty(self, filename): | |
|
113 | """record that the current state of the file on disk is unknown""" | |
|
114 | entry = self[filename] | |
|
115 | entry.set_possibly_dirty() | |
|
116 | self._refresh_entry(filename, entry) | |
|
117 | ||
|
112 | 118 | def set_tracked(self, filename): |
|
113 | 119 | new = False |
|
114 | 120 | entry = self.get(filename) |
@@ -443,10 +449,6 b' class dirstatemap(_dirstatemapcommon):' | |||
|
443 | 449 | def _insert_entry(self, f, entry): |
|
444 | 450 | self._map[f] = entry |
|
445 | 451 | |
|
446 | def set_possibly_dirty(self, filename): | |
|
447 | """record that the current state of the file on disk is unknown""" | |
|
448 | self[filename].set_possibly_dirty() | |
|
449 | ||
|
450 | 452 | def set_clean(self, filename, mode, size, mtime): |
|
451 | 453 | """mark a file as back to a clean state""" |
|
452 | 454 | entry = self[filename] |
@@ -799,12 +801,6 b' if rustmod is not None:' | |||
|
799 | 801 | def _insert_entry(self, f, entry): |
|
800 | 802 | self._map.addfile(f, entry) |
|
801 | 803 | |
|
802 | def set_possibly_dirty(self, filename): | |
|
803 | """record that the current state of the file on disk is unknown""" | |
|
804 | entry = self[filename] | |
|
805 | entry.set_possibly_dirty() | |
|
806 | self._map.set_dirstate_item(filename, entry) | |
|
807 | ||
|
808 | 804 | def set_clean(self, filename, mode, size, mtime): |
|
809 | 805 | """mark a file as back to a clean state""" |
|
810 | 806 | entry = self[filename] |
General Comments 0
You need to be logged in to leave comments.
Login now