--- a/hgext/convert/bzr.py Sun Oct 06 17:59:15 2019 -0400
+++ b/hgext/convert/bzr.py Sun Oct 06 19:25:18 2019 -0400
@@ -12,7 +12,11 @@
import os
from mercurial.i18n import _
-from mercurial import demandimport, error
+from mercurial import (
+ demandimport,
+ error,
+ pycompat,
+)
from . import common
# these do not work with demandimport, blacklist
@@ -195,7 +199,7 @@
if not branch.supports_tags():
return {}
tagdict = branch.tags.get_tag_dict()
- for name, rev in tagdict.iteritems():
+ for name, rev in pycompat.iteritems(tagdict):
bytetags[self.recode(name)] = rev
return bytetags