# HG changeset patch # User Augie Fackler # Date 2019-01-16 15:56:39 # Node ID 92cf293fd93dd73affa137d23210bd5040dd5bb0 # Parent 433c736f6f1c9bfba28c79f4995325a4b20b0adb remotefilelog: import Queue on Python 2, and queue on Python 3 Differential Revision: https://phab.mercurial-scm.org/D5599 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 @@ class basestore(object): cachepath = self._path # prune cache - import Queue - queue = Queue.PriorityQueue() + queue = pycompat.queue.PriorityQueue() originalsize = 0 size = 0 count = 0