##// END OF EJS Templates
dirstate: drop some duplicated code...
marmoute -
r48957:180e8fa3 default
parent child Browse files
Show More
@@ -582,17 +582,8 b' class dirstate(object):'
582 # this mean we are doing call for file we do not really care about the
582 # this mean we are doing call for file we do not really care about the
583 # data (eg: added or removed), however this should be a minor overhead
583 # data (eg: added or removed), however this should be a minor overhead
584 # compared to the overall update process calling this.
584 # compared to the overall update process calling this.
585 if need_parent_file_data:
585 if need_parent_file_data or parentfiledata is None:
586 if parentfiledata is None:
586 parentfiledata = self._get_filedata(filename)
587 parentfiledata = self._get_filedata(filename)
588 mtime = parentfiledata[2]
589
590 if mtime > self._lastnormaltime:
591 # Remember the most recent modification timeslot for
592 # status(), to make sure we won't miss future
593 # size-preserving file content modifications that happen
594 # within the same timeslot.
595 self._lastnormaltime = mtime
596
587
597 self._map.reset_state(
588 self._map.reset_state(
598 filename,
589 filename,
General Comments 0
You need to be logged in to leave comments. Login now