--- a/mercurial/logcmdutil.py Sun Oct 06 19:25:18 2019 -0400
+++ b/mercurial/logcmdutil.py Mon Oct 07 00:04:04 2019 -0400
@@ -290,7 +290,7 @@
if branch != b'default':
self.ui.write(columns[b'branch'] % branch, label=b'log.branch')
- for nsname, ns in self.repo.names.iteritems():
+ for nsname, ns in pycompat.iteritems(self.repo.names):
# branches has special logic already handled above, so here we just
# skip it
if nsname == b'branches':
@@ -802,7 +802,7 @@
opts[b'_patslog'] = list(pats)
expr = []
- for op, val in sorted(opts.iteritems()):
+ for op, val in sorted(pycompat.iteritems(opts)):
if not val:
continue
if op not in _opt2logrevset: