[PATCH 1 of 6 RFC] shrink: instrument sort code to record statistics

Benoit Boissinot benoit.boissinot at ens-lyon.org
Sun Jan 24 11:48:16 CST 2010


On Wed, Jan 20, 2010 at 10:15:28PM -0500, Greg Ward wrote:
>          visit = next + visit
>      ui.write('\n')
> +    ui.write('%d suboptimal nodes\n' % suboptimal)
> +    ui.write('%d p2 is predecessor\n' % p2pred)
>      return ret

If we want to clean that, this should be at least a ui.note() or
ui.debug().

regards,

Benoit

-- 
:wq


More information about the Mercurial-devel mailing list