itervalues() is only available on Python 2. Since this script
doesn't currently refer to the main Mercurial modules, and as a result
doesn't have easy access to the pycompat module, I simply changed it
to use value() instead. Although this allocates a list on Python 2,
I'd consider that acceptable for a utility script; Mercurial doesn't
have all _that_ many commands anyway.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGbea8cf87bef3: py3: hggettext
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- stable
- Lint
No Linters Available - Unit
No Unit Test Coverage