After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 321290 - add --output %o option as a command line parameter
add --output %o option as a command line parameter
Status: RESOLVED FIXED
Product: meld
Classification: Other
Component: filediff
1.1.x
Other All
: Normal enhancement
: ---
Assigned To: Stephen Kennedy
Stephen Kennedy
: 556005 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-11-12 10:42 UTC by Gour
Modified: 2010-12-05 06:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gour 2005-11-12 10:42:20 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
Comment 1 Emanuel Indermühle 2006-10-14 14:43:20 UTC
i also like to have this feature implemented in meld
greets emanuel
Comment 2 Gour 2008-05-14 15:29:57 UTC
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
Comment 3 Michael Hordijk 2008-05-14 16:19:06 UTC
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.
Comment 4 Gour 2008-05-14 20:07:29 UTC
OK. Re-opening...Hmm, can not do it.

You'll have to ask Stephen to re-open it.


Sincerely,
Gour
Comment 5 Stephen Kennedy 2008-05-15 08:38:45 UTC
Reopening
Comment 6 Paul Smith 2009-08-07 21:23:54 UTC
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.
Comment 7 Kai Willadsen 2010-12-03 22:20:58 UTC
*** Bug 556005 has been marked as a duplicate of this bug. ***
Comment 8 Kai Willadsen 2010-12-04 22:30:16 UTC
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
Comment 9 Gour 2010-12-05 06:50:17 UTC
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