Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Windows space problem

websvn
Discussion topic

Back to topic list

Windows space problem

Reply

Author antiknijn
Full name arnout standaert
Date 2004-02-20 08:06:19 PST
Message Hi list,

I just tried WebSVN 1.34 on my Windows box, and it gave errors when
running svnlook commands. Seems to be an issue with quotes in pathnames.

My Subversion path is configured in config.inc like this:

$config->setSVNC​ommandPath("c:\\pr​ogra~1\\subversion​\\bin");

The Config class uses setPath(...), which adds double quotes around
the path name of the $svnlook variable, so $config->svnlook is set to
"c:\progra~1\subve​rsion\bin\svnlook"​, _with_ the quotes.

Now, take for example the getHistory(...) function in the
SVNRepository class. It issues a runCommand(...) with argument:

  $config->svnlook." history $revstr ".$this->repPath." $path"

which in this case comes down to

  "c:\progra~1\subve​rsion\bin\svnlook"​ history E:\SVN\wald "/"

The quotes interfere with command execution... in my case, modifying
setPath() to add no quotes at all solves the problem, but that because
I omit spaces in the original pathname in config.inc... but obviously
you'll know a better solution than that :-)

Wald

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@webs​vn.tigris.org
For additional commands, e-mail: dev-help at websvn dot tigris dot org

« Previous message in topic | 1 of 6 | Next message in topic »

Messages

Show all messages in topic

Windows space problem antiknijn arnout standaert 2004-02-20 08:06:19 PST
     Re: Windows space problem Tim ARMES <tarmes at oreka dot com> Tim ARMES <tarmes at oreka dot com> 2004-02-22 02:50:42 PST
         Re: Windows space problem antiknijn arnout standaert 2004-02-23 00:58:10 PST
             Re: Windows space problem Tim ARMES <tarmes at oreka dot com> Tim ARMES <tarmes at oreka dot com> 2004-02-23 02:38:45 PST
                 Re: Windows space problem antiknijn arnout standaert 2004-02-23 03:52:46 PST
                     Re: Windows space problem Tim ARMES <tarmes at oreka dot com> Tim ARMES <tarmes at oreka dot com> 2004-02-23 04:13:49 PST
Messages per page: