[ANN][PLUGIN] graphical diff using kompare

Stephen Ward sward.dev at verizon.net
Wed Apr 26 13:40:01 BST 2006


On Wednesday 26 April 2006 01:21, Martin Pool wrote:
> This looks nice.  I agree it would be good to unify the various
> external diff/merge things - there may need to be some per-tool
> intelligence about whether it can do tree diffs, etc.

Agreed.

Is there any way for a plugin to add a new option to an existing command, 
rather than adding a new command?  For example:

  bzr diff --using kdiff3 [OPTIONS] [FILES*]

Or would that have to be done with a patch to bzrlib itself?

> When I run this for a whole-tree diff, it shows diffs within .bzr as
> well.   I can add that to the ignore list but is there any way the
> plugin can arrange for it to be automatically hidden?

I'm sure that this could be done, but the ignore-list mechanisms are extremely 
tool-specific (and in most cases, not designed for use from the command 
line), so there would be a fair amount of code involved.  I'm generally 
reluctant to go messing with other application's config files.

For the moment, I've just settled for mentioning the need for this sort of 
tool-specific configuration in the help text and the README.

-- Steve




More information about the bazaar mailing list