can't set a default external diff program
Bug #289268 reported by
pdf23ds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
There is no way to set a default argument of the --using command. There definitely should be. Here's a patch to do so. Note that if "--using" is passed "bzr" then the internal diff stuff is used. This way you can override the use of an external tool on the commandline if you have one set in your config file.
tags: | added: config diff |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
no longer affects: | brz |
To post a comment you must log in.
Hi pdf23ds,
Thanks for the patch! The normal way to submit changes to bzr is via the mailing list, in an attachment to an email with a subject starting with '[MERGE]' (e.g. "[MERGE][Bug #289263] Allow setting of default external diff program"). You can use a patch, as you have here, or you can use 'bzr send'.
One thing that is required of any code going into bzrlib is testing. For this change, I suggest you look in bzrlib/ tests/test_ config. py and bzrlib/ tests/blackbox/ test_diff. py to see what is done there.
Dan