Open SVN diff in meld tabs, not serial

I use meld

to view differences between versions as follows:

svn diff --diff-cmd='meld' -r HEAD

      

This method opens diffs in sequential order and I don't see all the differences at the same time. However, it would be more convenient to open all differences in tabs meld

. How do I get it?

+3


source to share


1 answer


Got the same problem. It was decided like this:

meldn.sh - launches meld

with a key -n

(couldn't find a way to pass a command with keys --svn-diff

)

#!/bin/bash

left="$6"
right="$7"

meld -n "$left" "$right"

      

svn-diff.sh - runs svn diff

for each file in the background (sign &

) so all diffs are opened at once



#!/bin/bash

for file in "$@"
do
    svn diff --diff-cmd=/home/user/meldn.sh $file &
done

      

Get diff for 3 files in 3 tabs:

/home/user/svn-diff.sh file1 file2 file3

      

0


source







All Articles