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

RE: Re: bugs in hook scripts on Windows

From: Rowell, Geoff <growell_at_ENVOYWW.COM>
Date: 2005-08-02 15:18:00 CEST

Ben Collins-Sussman [mailto:sussman@collab.net] wrote:
> On Jul 30, 2005, at 7:21 AM, Edwin_Park@mckinsey.com wrote:
> > * The REPOS parameter that is passed in to the batch script uses a
> > Unix-style forward slash '/' delimiter between the repository base
> > dir and the repository instead of the DOS-style backslash '\'. For
> > example, I have a repository named 'Nexus' under the 'E:\products
> > \CommonServices' directory. The REPOS parameter passed into my
> > batch script is: E:\products\CommonServices/Nexus. This has forced
> > me to resort to hardcoding the repository location in my hook
> > scripts because I cannot use the mangled path that is passed in.
>
> You said this is svn 1.2.0 on win2k. Which server are you using,
> apache or svnserve?
>
> Developers: is this indeed a bug?

I noticed this in 1.1.x and determined that it was caused, in my setup,
by the way that I specified the SVNParentPath directive in httpd.conf.
If I used forward or back slashes, that's what was passed to the hook
script.

I imagine that the way the "root" option of svnserve is specified has
a similar result.

Since I only use the hook script ".bat" file to call a Perl script,
any mixed slashes are easily dealt with. I consider ".bat" files to
be fasteners - not working parts.

-Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 2 15:19:30 2005

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

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