Details
Details
- Reviewers
Alphare - Group Reviewers
hg-reviewers - Commits
- rHG6f10a2d6adf9: verify: 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/verify.py (2 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
26c1083c7e79 | b505b9c2eb0c | Gregory Szorc | Feb 21 2022, 1:13 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 |
fl2.rev(rp[1]) | fl2.rev(rp[1]) | ||||
except Exception as inst: | except Exception as inst: | ||||
self._exc( | self._exc( | ||||
lr, _(b"checking rename of %s") % short(n), inst, f | lr, _(b"checking rename of %s") % short(n), inst, f | ||||
) | ) | ||||
# cross-check | # cross-check | ||||
if f in filenodes: | if f in filenodes: | ||||
fns = [(v, k) for k, v in pycompat.iteritems(filenodes[f])] | fns = [(v, k) for k, v in filenodes[f].items()] | ||||
for lr, node in sorted(fns): | for lr, node in sorted(fns): | ||||
msg = _(b"manifest refers to unknown revision %s") | msg = _(b"manifest refers to unknown revision %s") | ||||
self._err(lr, msg % short(node), f) | self._err(lr, msg % short(node), f) | ||||
progress.complete() | progress.complete() | ||||
if self.warnorphanstorefiles: | if self.warnorphanstorefiles: | ||||
for f in sorted(storefiles): | for f in sorted(storefiles): | ||||
self._warn(_(b"warning: orphan data file '%s'") % f) | self._warn(_(b"warning: orphan data file '%s'") % f) | ||||
return len(files), revisions | return len(files), revisions |