convert: Fix bug of limit_arglist() loosing file on limit boundary.
authorShun-ichi GOTO <shunichi.goto@gmail.com>
Sat, 05 Jan 2008 11:46:00 +0900
changeset 5806 a3a380af8fb5
parent 5805 e422305e0853
child 5807 4dfe7d5b1fc8
convert: Fix bug of limit_arglist() loosing file on limit boundary.
hgext/convert/subversion.py
--- a/hgext/convert/subversion.py	Fri Jan 04 23:43:55 2008 +0100
+++ b/hgext/convert/subversion.py	Sat Jan 05 11:46:00 2008 +0900
@@ -723,8 +723,8 @@
                 bytes += b
             else:
                 yield fl
-                fl = []
-                bytes = 0
+                fl = [fn]
+                bytes = b
         if fl:
             yield fl