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

Re: pre-lock.bat Failed in Repo browser

From: David Chapman <dcchapman_at_acm.org>
Date: Tue, 08 Mar 2011 07:10:55 -0800

On 3/8/2011 6:24 AM, Waseem Bokhari wrote:
>
> I don't think %VISUALSVN_SERVER% is set in your lock script.
>
> What is meant by this?
>
> How can I found "svnlook.exe"??
>
> Can you please re-edit this script for me.
>
> Thanks in advance
>
>
What he means is that %VISUALSVN_SERVER% will not have a value when
running from a hook script. From a Command Prompt window, type:

echo %VISUALSVN_SERVER%

Then substitute the returned value into your script. If you run this
echo command in the hook script during a commit operation, it will not
print anything.

-- 
     David Chapman         dcchapman_at_acm.org
     Chapman Consulting -- San Jose, CA
Received on 2011-03-08 16:11:37 CET

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.