[BUNDLE] Allow different diff output

Aaron Bentley aaron.bentley at utoronto.ca
Thu Jul 6 16:36:04 BST 2006


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

Szilveszter Farkas wrote:
> hi,
> 
> this is my first change to the bzr.dev codebase, maybe i did some
> things wrong. please correct me :)
> 
> i attached a bundle which makes a trivial change: it allows the diff
> output to be sent to other (file)streams than sys.stdout.
> 
> this little modification makes my life easier regarding the gui
> development :)

Please don't use the file extension '.bundle', because that causes your
mail client to send it as a binary attachment that we can't read without
saving.  Bundles are patches, so you can use .diff or .patch.

It seems unlikely to me that diff_cmd_helper helper is actually what you
want in a GUI.  As the name says, it's a helper for the diff command,
and is very commandline-oriented.  I'd suggest using show_diff_trees or
compare_trees instead.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD0DBQFErS3k0F+nu1YWqI0RAi3pAJjuxTJBYNeeok9WZd4pKmfY2axPAJdDGVmc
Ibv4OQ+vZaqfBbHLum5J
=Twq7
-----END PGP SIGNATURE-----




More information about the bazaar mailing list