Re: svn --diff-cmd not working

2016-04-07 Thread Torge Riedel
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 ==

Re: svn --diff-cmd not working

2016-04-07 Thread 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 > ==

Re: svn --diff-cmd not working

2016-04-07 Thread Yves Martin
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

Re: svn --diff-cmd not working

2016-04-07 Thread Stefan Sperling
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 $

Re: svn --diff-cmd not working

2016-04-07 Thread Stefan
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

svn --diff-cmd not working

2016-04-07 Thread 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 === exec of '/home/knowsg_admin/bin/svnd