Can "bzr annotate" be sped up?

John Arbash Meinel john at arbash-meinel.com
Fri Jun 17 16:59:09 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/17/2011 04:17 PM, John Yates wrote:
> John Arbash Meinel <john at arbash-meinel.com> wrote on 06/17/2011 09:23:54 
> AM:
> 
>> As it stands now, --ignore-whitespace wouldn't be too hard to implement,
>> but you have quite a few api's that need to be changed to pass the new
>> flag around.
> 
> Why imply a particular comparison semantic based on a flag?  Why not 
> simply pass in an arbitrary comparison function?  Or were you referring 
> mainly to the UI?
> 
> /john

"arbitrary comparison function" that compares 2 texts and reports what
is 'different' is certainly possible, but outside the scope of what most
people actually care to do from the command-line. --ignore-whitespace on
the other hand, is asked for reasonably often.

Also, --ignore-whitespace would be well defined and cacheable. I don't
even trust that "arbitrary comparison function" is stable. (eg x != y,
but y == x.)

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk37h9wACgkQJdeBCYSNAAOv6wCdGHCPyfgauRrevnV6K6dEAnef
F4AAn0HW8Y0HRdWCKSFgzTgEUNo3bjam
=nTnY
-----END PGP SIGNATURE-----



More information about the bazaar mailing list