Bug#350076: subversion: svn diff --diff-cmd option fails inscrutably

Peter Samuelson peter at p12n.org
Fri Jan 27 08:08:49 UTC 2006


[Britton Leo Kerin]
> Now since fldiff can be invoked 'fldiff file1 file2' just like diff,
> you would expect it to work here, or if not, you would expect a
> specification somewhere from svn saying just how it intends to invoke
> the supplied diff command.  But I didn't find anything like that.

Upstream has discussed this a bit in the past (documenting --diff-cmd
better), and IIRC, the general idea was that --diff-cmd is really only
supported nowadays for compatibility and there's not much enthusiasm
for encouraging people to use it.

> Alternately, svn diff could provide some way to output what exactly
> its doing at run time.

--diff-cmd=echo

You'll see that the svn client itself outputs the Index: and ======
lines, then invokes the diff program.  Writing a shell wrapper around
any file differencing program you want should be a straightforward
affair.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-subversion-maintainers/attachments/20060127/b7b722eb/attachment.pgp


More information about the pkg-subversion-maintainers mailing list