Patchwork D1848: perf: do not import util.queue

login
register
mail settings
Submitter phabricator
Date Jan. 11, 2018, 5:26 a.m.
Message ID <differential-rev-PHID-DREV-madu2iawad6g5gzna3pz-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/26678/
State Superseded
Headers show

Comments

phabricator - Jan. 11, 2018, 5:26 a.m.
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




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

Patch

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,