--- a/contrib/perf.py Mon Aug 19 10:38:38 2019 -0700 +++ b/contrib/perf.py Mon Aug 19 10:39:13 2019 -0700 @@ -149,7 +149,7 @@ try: queue = pycompat.queue except (NameError, AttributeError, ImportError): - queue = util.queue + import Queue as queue try: from mercurial import logcmdutil