Dirk Thomas | 1 May 2009 13:26
Picon
Favicon

Re: [WebSVN] Error running this command: svn --config-dir /tmp --version

>> Have you tried to set $config->setSVNC​ommandPath('Path/to/​svn') in your config as suggested before?
> 
> I'm another user, i tried to exetute it. But how i need to type this path?
> Like that:
> $config->setSVNC​ommandPath('d:\\xammp\\apache\\bin')
> Or like that:
> $config->setSVNC​ommandPath('\bin')
> Or like that:
> $config->setSVNC​ommandPath('D:/xammp/apache/bin')
> Or i need to use " symbol like that:
> $config->setSVNC​ommandPath("D:\xammp\apache\bin")

Single or doubles are both practicle.
Under windows you have to use double backslahes because since \ is an escaping character in php strings.
Therefore this would be the correct syntax:
$config->setSVNC​ommandPath('d:\\xammp\\apache\\bin')

But you have to specify the path where the svn binary is (i doubt this is under xammp/apache/bin - but i never
used xammp).

Dirk

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2013203

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> websvn.tigris.org].


Gmane