##// END OF EJS Templates
dirstate: introduce a `set_clean` method...
marmoute -
r48504:8a50fb07 default
parent child Browse files
Show More
@@ -499,6 +499,13 b' class dirstate(object):'
499 499 self._remove(filename)
500 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 509 @requires_parents_change
503 510 def update_file_p1(
504 511 self,
General Comments 0
You need to be logged in to leave comments. Login now