# HG changeset patch # User Augie Fackler # Date 1547654199 18000 # 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 -r 433c736f6f1c -r 92cf293fd93d hgext/remotefilelog/basestore.py --- a/hgext/remotefilelog/basestore.py Wed Jan 16 11:57:20 2019 -0500 +++ b/hgext/remotefilelog/basestore.py Wed Jan 16 10:56:39 2019 -0500 @@ -305,8 +305,7 @@ cachepath = self._path # prune cache - import Queue - queue = Queue.PriorityQueue() + queue = pycompat.queue.PriorityQueue() originalsize = 0 size = 0 count = 0