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

Re: Server side script to prevent uncommented commits

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-03-31 00:09:05 CEST

On Mar 30, 2005, at 4:49 PM, Robert Hunter wrote:

> Scott Palmer wrote:
>> Anybody know how to make this work if the path to your repository (and
>> the Subversion binaries) has an ampersand in it? E.g.
>> C:\Data\R&D\Subversion\repository
>
> Easy.
>
> Just use quotes around the path.
>
> SET REPOS="C:\Data\R&D\Subversion\repository"
>

Close. I still wanted to use the arg passed to the script so I changed
the lines that assigned REPOS and TXN.
e.g.

set REPOS=%1
set TXN=%2

should be:

set "REPOS=%1"
set "TXN=%2"

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 31 00:11:36 2005

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

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