D1848: perf: do not import util.queue

quark (Jun Wu) phabricator at mercurial-scm.org
Thu Jan 11 05:26:40 UTC 2018


quark created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  This was added by https://phab.mercurial-scm.org/rHGaf25237be091ac307bc65a2c2b3688fd73eb9bf3. But util.queue is not a module and is not
  importable. I guess it wasn't noticed because of demandimport.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1848

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
@@ -27,7 +27,6 @@
 import sys
 import threading
 import time
-import util.queue
 from mercurial import (
     changegroup,
     cmdutil,



To: quark, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list