D5599: remotefilelog: import Queue on Python 2, and queue on Python 3
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Wed Jan 16 12:22:23 EST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG92cf293fd93d: remotefilelog: import Queue on Python 2, and queue on Python 3 (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5599?vs=13277&id=13296
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, pulkit
Cc: pulkit, mjpieters, mercurial-devel
More information about the Mercurial-devel
mailing list