[PATCH] convert: Fix bug of limit_arglist() loosing file on limit boundary
Shun-ichi Goto
shunichi.goto at gmail.com
Fri Jan 4 21:11:12 CST 2008
# HG changeset patch
# User Shun-ichi GOTO <shunichi.goto at gmail.com>
# Date 1199501160 -32400
# Node ID ba4efb65a9e309404fcb1566f7dd54abf83a0199
# Parent 68867c6746982338cf246fa1d89b5b5a3e218936
convert: Fix bug of limit_arglist() loosing file on limit boundary.
diff -r 68867c674698 -r ba4efb65a9e3 hgext/convert/subversion.py
--- a/hgext/convert/subversion.py Sat Jan 05 03:33:18 2008 +0900
+++ b/hgext/convert/subversion.py Sat Jan 05 11:46:00 2008 +0900
@@ -723,8 +723,8 @@ class svn_sink(converter_sink, commandli
bytes += b
else:
yield fl
- fl = []
- bytes = 0
+ fl = [fn]
+ bytes = b
if fl:
yield fl
More information about the Mercurial-devel
mailing list