GNOME Bugzilla – Bug 321290
add --output %o option as a command line parameter
Last modified: 2010-12-05 06:50:17 UTC
Hi! I'd very much like to replace kdiff3 with native meld as native gnome application. Being a darcs user I use its externla merge feature, but in order to be able to use meld as external merger, a new option is required (as far as I can see), i.e. option to specify --output file as a command line parameter when invoking meld, something like --output %o or shortly '-o %o'. Here are the examples from darcs manual showing different merge tools: opendiff: --external-merge 'opendiff %1 %2 -ancestor %a -merge %o'. The %1 and %2 are replaced with the two versions to be merged, %a is replaced with the common ancestor of the two version. Most importantly, %o is replaced with the name of the output file that darcs will require to be created holding the merged version. The above example works with the FileMerge.app tool that comes with Apple's developer tools. xxdiff: --external-merge 'xxdiff -m -O -M %o %1 %a %2' kdiff3: --external-merge 'kdiff3 --output %o %a %1 %2' Sincerely, Gour
i also like to have this feature implemented in meld greets emanuel
Hi! I waited too long and it never happened...now I'm using emacs and no need for meld whatsoever...so I'll close the bug as WONTFIX :-( Pls. free to re-open it if you're patient enough ;) Sincerely, Gour
Of course, none of us others who would like to see this feature can change the state of the bug, so please reopen the bug. I almost forgot about this. Maybe I'll just see if I can't get this working. It would be a nice to have for p4 and such.
OK. Re-opening...Hmm, can not do it. You'll have to ask Stephen to re-open it. Sincerely, Gour
Reopening
I'd really like this as well. I've been looking around for a 3-way diff replacement also, and this is a show-stopper for considering meld. I think just about any drop-in replacement for a 3-way diff tool MUST support a -o / --output / whatever feature. Most SCM merge commands want the results of the merge to be written to a specific file.
*** Bug 556005 has been marked as a duplicate of this bug. ***
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. See: http://git.gnome.org/browse/meld/commit/?id=f48e05bf4e7532996a19376fd754f2cce4eaf7d5
Thank you, Kai, for resolving it. Considering it was reported 6yrs ago, I did not have much faith it would happen ever. So, I can firmly say that Meld is in good hands now. :-) Sincerely, Gour