9

i tried using Meld as external diff in KdeSVN as meld -on - (settings>configure kdesvn>diff&merge) but Meld complains that the usage is wrong:

meld: error: no such option: -o

Finished
Usage: 
  meld                        Start with an empty window
  meld <file|dir>             Start a version control comparison
  meld <file> <file> [<file>] Start a 2- or 3-way file comparison
  meld <dir> <dir> [<dir>]    Start a 2- or 3-way directory comparison
  meld <file> <dir>           Start a comparison between file and dir/file

i have no idea what parameters that i should use, could someone give me the correct command?

2
  • i tried meld %f %f but -as expected- it compares the selected file to itself.
    – sterz
    Dec 9, 2010 at 21:37
  • How to get this working in the year 2020? When I right-click a file and "diff with head", it diffs the entire tree, and shows all changes files, then I have to select my individual file. Since I just right-clicked that file, I would expect to diff only one file, without the intervening step
    – Mawg
    Mar 11, 2020 at 11:00

2 Answers 2

11

The right solution for this problem is: meld %1 %2

1
  • 1
    %1 and %2 don't appear to be valid operators as Meld simply tries to open those strings as files. Perhaps kdesvn has changed the parameter types? Jan 27, 2014 at 11:58
2

I was experiencing a similar problem after altering this setting.

In the history-window, I was double-clicking on the modified files in the bottom-right-hand pane, assuming that would give me the diff.

Instead, kdesvn opened a window containing the text of the file.

I've now realised my mistake:

  • double-clicking = "annotate" action

In order to diff, you need to right-click the file, and select "Diff previous" in the context menu.

Thought I'd better share, in-case anyone else new to kdesvn makes the same wrong assumption.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .