changeset 1035:2c64453f98a7

use mercurial.util.deque to support python 2.4 hgsubversion fail with python 2.4 due to the lack of remove() method in collections.deque. Fortunately, mercurial.util.deque is the version to work with python 2.4, so use it.
author Shun-ichi GOTO <gotoh@taiyo.co.jp>
date Fri, 12 Jul 2013 11:21:41 +0900
parents 3e716bb9f6df
children e775ffbcb359
files hgsubversion/util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/util.py
+++ b/hgsubversion/util.py
@@ -3,13 +3,13 @@ import errno
 import re
 import os
 import urllib
-from collections import deque
 
 from mercurial import cmdutil
 from mercurial import error
 from mercurial import hg
 from mercurial import node
 from mercurial import util as hgutil
+from mercurial.util import deque
 
 try:
     from mercurial import revset