Re: How to use meld with 'svn diff'
- From: Grant Edwards <grante visi com>
- To: meld-list gnome org
- Subject: Re: How to use meld with 'svn diff'
- Date: Sat, 19 Apr 2008 15:51:46 +0000 (UTC)
On 2008-04-14, Frederik Uppesen <f_uppesen yahoo com> wrote:
> 'svn diff' can be used to do a variety of comparisons across
> branches and revisions.
>
> But asking svn to use 'meld' in its config file (by setting
> 'diff-cmd') results in a lot of complaints from 'meld'!
The "diff-cmd" that is called by svn needs to accept a bunch of
command line options/arguements. IIRC the two file names to
compare are args 5 and 6. The rest of the command line is a
bunch of options that once-upon-a-time were required to get the
gnu diff utility to do what SVN wanted it to do.
Hard-wiring the external diff command interface to be that of
an old version of gnu diff seems like a big mistake to me, but
at least the interface is documented.
> What's the trick? I must be missing a helper script?
Yes. The details are in the fine manual:
http://svnbook.red-bean.com/en/1.4/svn.advanced.externaldifftools.html
--
Grant Edwards grante Yow! Is this where people
at are HOT and NICE and they
visi.com give you TOAST for FREE??
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]