[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn --diff-cmd not working

From: Stefan <luke1410_at_posteo.de>
Date: Thu, 7 Apr 2016 09:59:54 +0200

Hi loudking,

> Dear all, I configured svn to call a wrapper script for diff command
> but encountered following error:
>
> |
> ~/knowsg.com/steps $ svn diff command_at_development.txt
> Index:command_at_development.txt
> ===================================================================
> execof '/home/knowsg_admin/bin/svndiffwrap.sh'failed:Nosuch file
> ordirectorysvn:'/home/knowsg_admin/bin/svndiffwrap.sh'returned 255
> |
>
>
> part of ~/.subversion/config is like this:
>
> |
> ### Set diff-cmd to the absolute path of your 'diff' program.
> ### This will override the compile-time default, which is to use
> ### Subversion's internal diff implementation.
> # diff-cmd = diff_program (diff, gdiff, etc.)
> diff-cmd =/home/knowsg_admin/bin/svndiffwrap.sh
> |
>
>
> But the script is right there with executing privileges:
>
> |
> ~/knowsg.com/steps $ ll /home/knowsg_admin/bin
> total 4.0K
> -rwxr-xr-x 1knowsg_admin knowsg_admin 369Apr511:06svndiffwrap.sh*
> |
>
>
> Even its parent directory is on $PATH:
> |
> ~/knowsg.com/steps $ echo $PATH
> /usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/knowsg_admin/bin
> |
>
>
> Can anybody help me with this please? Thanks.
You don't execute the svn command with a different use by any chance, do
you?
Did you test putting the svndiffwrap.sh file somewhere else (for example
into /var/)?

Regards,
Stefan
Received on 2016-04-07 10:00:12 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.