subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Chapman <dcchap...@acm.org>
Subject Re: pre-lock.bat Failed in Repo browser
Date Tue, 08 Mar 2011 15:10:55 GMT
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@acm.org
     Chapman Consulting -- San Jose, CA


Mime
View raw message