Making "bzr diff" call an external GUI diff program.
John Arbash Meinel
john at arbash-meinel.com
Sun Dec 11 14:19:57 GMT 2005
Erik de Castro Lopo wrote:
> Hi all,
>
> I'd like to be able to make the "bzr diff" command use an external
> GUI diff viewer.
>
> I've had a look at mpool's vimdiff plugin and that is useful but it
> does allow the flexibility "bzr diff".
>
> I've also had a look at bzrlib/diff.py but it doesn't seem at all
> easy to modify that to whats needed.
>
> Does anyone have any suggestions on how to proceed?
>
> Erik
Actually, I had expanded the vimdiff plugin so that it could take a
range of arguments, would set the temp files to readonly, etc.
But that was on another machine which I don't have access to (I was
working offline on a laptop).
I'll publish once I have access again.
At that point, I think it would be reasonably easy to allow a
configurable diff program.
And then change the name of the command to "bzr gdiff" for gui-diff,
with BZR_GDIFF being the command line.
Or we just leave it as a plugin, and if someone who wants a different
gui diff program can just edit those lines.
I know I like having access to both gvimdiff and vimdiff in case I am in
an SSH session, versus being local.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051211/21045b1f/attachment.pgp
More information about the bazaar
mailing list