diff -r 52f816b40674 -r a814f8fcc65a hgext/convert/common.py --- a/hgext/convert/common.py Sun Jan 08 17:57:25 2012 +0100 +++ b/hgext/convert/common.py Sun Jan 08 18:15:54 2012 +0100 @@ -339,7 +339,7 @@ # Since ARG_MAX is for command line _and_ environment, lower our limit # (and make happy Windows shells while doing this). - return argmax / 2 - 1 + return argmax // 2 - 1 def limit_arglist(self, arglist, cmd, closestdin, *args, **kwargs): cmdlen = len(self._cmdline(cmd, closestdin, *args, **kwargs))