--- a/mercurial/patch.py Thu Oct 19 14:03:41 2006 +0200
+++ b/mercurial/patch.py Thu Oct 19 14:16:51 2006 +0200
@@ -220,7 +220,7 @@
tmpfp = os.fdopen(fd, 'w')
try:
- for i in range(len(gitpatches)):
+ for i in xrange(len(gitpatches)):
p = gitpatches[i]
if not p.copymod and not p.binary:
continue