Details
Details
- Reviewers
Alphare - Group Reviewers
hg-reviewers - Commits
- rHGc17aee610bab: merge: 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/merge.py (4 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
a0fc991ea4cd | 9ac69401fc46 | Gregory Szorc | Feb 21 2022, 1:11 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 |
Returns a list of tuple of form (filename, data, message) | Returns a list of tuple of form (filename, data, message) | ||||
""" | """ | ||||
for a in actions: | for a in actions: | ||||
if sort: | if sort: | ||||
for f in sorted(self._actionmapping[a]): | for f in sorted(self._actionmapping[a]): | ||||
args, msg = self._actionmapping[a][f] | args, msg = self._actionmapping[a][f] | ||||
yield f, args, msg | yield f, args, msg | ||||
else: | else: | ||||
for f, (args, msg) in pycompat.iteritems( | for f, (args, msg) in self._actionmapping[a].items(): | ||||
self._actionmapping[a] | |||||
): | |||||
yield f, args, msg | yield f, args, msg | ||||
def len(self, actions=None): | def len(self, actions=None): | ||||
"""returns number of files which needs actions | """returns number of files which needs actions | ||||
if actions is passed, total of number of files in that action | if actions is passed, total of number of files in that action | ||||
only is returned""" | only is returned""" | ||||