D6744: perf: don't try to call `util.queue` on Mercurial version before it existed
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Mon Aug 19 17:43:36 UTC 2019
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6744
AFFECTED FILES
contrib/perf.py
CHANGE DETAILS
diff --git a/contrib/perf.py b/contrib/perf.py
--- a/contrib/perf.py
+++ b/contrib/perf.py
@@ -149,7 +149,7 @@
try:
queue = pycompat.queue
except (NameError, AttributeError, ImportError):
- queue = util.queue
+ import Queue as queue
try:
from mercurial import logcmdutil
To: martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list