Show More
@@ -499,6 +499,13 b' class dirstate(object):' | |||||
499 | self._remove(filename) |
|
499 | self._remove(filename) | |
500 | return True |
|
500 | return True | |
501 |
|
501 | |||
|
502 | @requires_no_parents_change | |||
|
503 | def set_clean(self, filename, parentfiledata=None): | |||
|
504 | """record that the current state of the file on disk is known to be clean""" | |||
|
505 | self._dirty = True | |||
|
506 | self._updatedfiles.add(filename) | |||
|
507 | self.normal(filename, parentfiledata=parentfiledata) | |||
|
508 | ||||
502 | @requires_parents_change |
|
509 | @requires_parents_change | |
503 | def update_file_p1( |
|
510 | def update_file_p1( | |
504 | self, |
|
511 | self, |
General Comments 0
You need to be logged in to leave comments.
Login now