Hi all, it turns out that the problem is because of End-of-Line in the
wrapper script. Thank you for all your help.
On Thursday, April 7, 2016 at 3:21:39 PM UTC+8, loudking wrote:
>
> Dear all, I configured svn to call a wrapper script for diff command but
> encountered following error:
>
> ~/kn
Am 08.04.2016 um 03:25 schrieb Ryan Schmidt:
On Apr 7, 2016, at 2:21 AM, loudking wrote:
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
==
On Apr 7, 2016, at 2:21 AM, loudking wrote:
> 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
> ==
Hello,
Are you sure there are proper ${6} and ${7} arguments in any cases ?
You should add check in your script before invoking vim -d
I also recommend to end script with "exec /usr/bin/vim "
--
Yves Martin
On Thu, Apr 07, 2016 at 04:55:24PM +0800, Hongliang Wang wrote:
> Hi Stefan, Thanks for your reply. The contents of my wrapper likes this and
> it indeed has #!/bin/sh
>
> ~/bin $ cat svndiffwrap.sh
> #!/bin/sh
>
> /usr/bin/vim -d ${6} ${7}
>
> /bin/sh and /usr/bin/vim both exists.
>
> ~/bin $
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/knows