--- a/hgext/convert/common.py Tue Aug 14 22:38:25 2012 -0400
+++ b/hgext/convert/common.py Fri Aug 03 21:05:01 2012 +0200
@@ -345,8 +345,8 @@
# (and make happy Windows shells while doing this).
return argmax // 2 - 1
- def limit_arglist(self, arglist, cmd, closestdin, *args, **kwargs):
- cmdlen = len(self._cmdline(cmd, closestdin, *args, **kwargs))
+ def _limit_arglist(self, arglist, cmd, *args, **kwargs):
+ cmdlen = len(self._cmdline(cmd, *args, **kwargs))
limit = self.argmax - cmdlen
bytes = 0
fl = []
@@ -363,7 +363,7 @@
yield fl
def xargs(self, arglist, cmd, *args, **kwargs):
- for l in self.limit_arglist(arglist, cmd, True, *args, **kwargs):
+ for l in self._limit_arglist(arglist, cmd, *args, **kwargs):
self.run0(cmd, *(list(args) + l), **kwargs)
class mapfile(dict):