diffs with a *prepended diffstat*

Martin Pool mbp at canonical.com
Wed Jun 14 04:04:41 BST 2006


On 10/06/2006, at 7:13 AM, Robert Widhopf-Fenk wrote:

> is not as fast and short as
>
>  bzr diffstat -v > the.diff
>
> enabled by the simple patch below.  Maybe it is even faster
> to join the line and print them instead of iterating the
> list, but that must be answered by an Python guru.

I'd tend to say

   if verbose:
     sys.stdout.writelines(diff)

just for simplicity.

-- 
Martin







More information about the bazaar mailing list