changeset 5806:a3a380af8fb5

convert: Fix bug of limit_arglist() loosing file on limit boundary.
author Shun-ichi GOTO <shunichi.goto@gmail.com>
date Sat, 05 Jan 2008 11:46:00 +0900
parents e422305e0853
children 4dfe7d5b1fc8
files hgext/convert/subversion.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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