From patchwork Tue Aug 20 15:36:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D6744: perf: don't try to call `util.queue` on Mercurial version before it existed From: phabricator X-Patchwork-Id: 41360 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Tue, 20 Aug 2019 15:36:27 +0000 Closed by commit rHGb1e53b192497: perf: don't try to call `util.queue` on Mercurial version before it existed (authored by martinvonz). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6744?vs=16264&id=16273 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6744/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6744 AFFECTED FILES contrib/perf.py CHANGE DETAILS To: martinvonz, #hg-reviewers, pulkit Cc: mercurial-devel 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