Details
Details
- Reviewers
Alphare - Group Reviewers
hg-reviewers - Commits
- rHGfe056166b40d: dirstate: remove pycompat.iteritems()
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
( )
Alphare |
hg-reviewers |
No Linters Available |
No Unit Test Coverage |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/dirstate.py (6 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
ba409ae77c7b | 7bf1ec1d909f | Gregory Szorc | Feb 21 2022, 1:09 PM |
Status | Author | Revision | |
---|---|---|---|
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | D12339 ui: use input() directly | |
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg |
checklink = self._checklink | checklink = self._checklink | ||||
copymap = self._map.copymap | copymap = self._map.copymap | ||||
# We need to do full walks when either | # We need to do full walks when either | ||||
# - we're listing all clean files, or | # - we're listing all clean files, or | ||||
# - match.traversedir does something, because match.traversedir should | # - match.traversedir does something, because match.traversedir should | ||||
# be called for every dir in the working dir | # be called for every dir in the working dir | ||||
full = listclean or match.traversedir is not None | full = listclean or match.traversedir is not None | ||||
for fn, st in pycompat.iteritems( | for fn, st in self.walk( | ||||
self.walk(match, subrepos, listunknown, listignored, full=full) | match, subrepos, listunknown, listignored, full=full | ||||
): | ).items(): | ||||
if not dcontains(fn): | if not dcontains(fn): | ||||
if (listignored or mexact(fn)) and dirignore(fn): | if (listignored or mexact(fn)) and dirignore(fn): | ||||
if listignored: | if listignored: | ||||
iadd(fn) | iadd(fn) | ||||
else: | else: | ||||
uadd(fn) | uadd(fn) | ||||
continue | continue | ||||