The same operation is done a handful a line lower.
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
marmoute |
hg-reviewers |
The same operation is done a handful a line lower.
No Linters Available |
No Unit Test Coverage |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/dirstate.py (13 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
a98d247e4675 | ab552312ddd6 | Pierre-Yves David | Sep 30 2021, 7:45 PM |
Status | Author | Revision | |
---|---|---|---|
Closed | SimonSapin | ||
Closed | SimonSapin | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Abandoned | pulkit | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute |
need_parent_file_data = ( | need_parent_file_data = ( | ||||
not possibly_dirty and not p2_info and wc_tracked and p1_tracked | not possibly_dirty and not p2_info and wc_tracked and p1_tracked | ||||
) | ) | ||||
# this mean we are doing call for file we do not really care about the | # this mean we are doing call for file we do not really care about the | ||||
# data (eg: added or removed), however this should be a minor overhead | # data (eg: added or removed), however this should be a minor overhead | ||||
# compared to the overall update process calling this. | # compared to the overall update process calling this. | ||||
if need_parent_file_data: | if need_parent_file_data or parentfiledata is None: | ||||
if parentfiledata is None: | |||||
parentfiledata = self._get_filedata(filename) | parentfiledata = self._get_filedata(filename) | ||||
mtime = parentfiledata[2] | |||||
if mtime > self._lastnormaltime: | |||||
# Remember the most recent modification timeslot for | |||||
# status(), to make sure we won't miss future | |||||
# size-preserving file content modifications that happen | |||||
# within the same timeslot. | |||||
self._lastnormaltime = mtime | |||||
self._map.reset_state( | self._map.reset_state( | ||||
filename, | filename, | ||||
wc_tracked, | wc_tracked, | ||||
p1_tracked, | p1_tracked, | ||||
p2_info=p2_info, | p2_info=p2_info, | ||||
has_meaningful_mtime=not possibly_dirty, | has_meaningful_mtime=not possibly_dirty, | ||||
parentfiledata=parentfiledata, | parentfiledata=parentfiledata, |