D5599: remotefilelog: import Queue on Python 2, and queue on Python 3
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Wed Jan 16 12:03:14 EST 2019
durin42 updated this revision to Diff 13277.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5599?vs=13259&id=13277
REVISION DETAIL
https://phab.mercurial-scm.org/D5599
AFFECTED FILES
hgext/remotefilelog/basestore.py
CHANGE DETAILS
diff --git a/hgext/remotefilelog/basestore.py b/hgext/remotefilelog/basestore.py
--- a/hgext/remotefilelog/basestore.py
+++ b/hgext/remotefilelog/basestore.py
@@ -305,8 +305,7 @@
cachepath = self._path
# prune cache
- import Queue
- queue = Queue.PriorityQueue()
+ queue = pycompat.queue.PriorityQueue()
originalsize = 0
size = 0
count = 0
To: durin42, #hg-reviewers
Cc: pulkit, mjpieters, mercurial-devel
More information about the Mercurial-devel
mailing list