[PATCH 17 of 21 WIP-PY3K] obsolete: use xrange from py3kcompat

Matthew Turk matthewturk at gmail.com
Mon Oct 12 16:25:01 CDT 2015


# HG changeset patch
# User Matthew Turk <matthewturk at gmail.com>
# Date 1444684321 18000
#      Mon Oct 12 16:12:01 2015 -0500
# Node ID 97c6284c8ba29a8c595e3bdcbb858e91e34332d1
# Parent  1842237016d2b252a9060941a850f54b90451b9e
obsolete: use xrange from py3kcompat

diff -r 1842237016d2 -r 97c6284c8ba2 mercurial/obsolete.py
--- a/mercurial/obsolete.py	Mon Oct 12 16:11:19 2015 -0500
+++ b/mercurial/obsolete.py	Mon Oct 12 16:12:01 2015 -0500
@@ -78,6 +78,7 @@
     phases
 )
 from .i18n import _
+from .py3kcompat import xrange
 
 _pack = struct.pack
 _unpack = struct.unpack


More information about the Mercurial-devel mailing list