Re: pre-lock.bat Failed in Repo browser

2011-03-15 Thread Michael Diers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-03-15 00:19, Daniel Becroft wrote: > In addition to this, locks are for a working-copy, not necessarily for a > user. It's possible for the same user to steal the lock that they > already hold in another working copy, and your script will let t

Re: pre-lock.bat Failed in Repo browser

2011-03-14 Thread Daniel Becroft
On Tue, Mar 15, 2011 at 8:25 AM, Michael Diers wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2011-03-10 11:21, Michael Diers wrote: > > On 2011-03-10 08:23, Waseem Bokhari wrote: > >> This script works fine in all scenarios except Anyone can Steal Lock > when Unlock. > > > >>> U

Re: pre-lock.bat Failed in Repo browser

2011-03-14 Thread Michael Diers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-03-10 11:21, Michael Diers wrote: > On 2011-03-10 08:23, Waseem Bokhari wrote: >> This script works fine in all scenarios except Anyone can Steal Lock when >> Unlock. > >>> Unable to Break lock through check for modifications Option >>> Unabl

Re: pre-lock.bat Failed in Repo browser

2011-03-10 Thread Michael Diers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-03-10 08:23, Waseem Bokhari wrote: > This script works fine in all scenarios except Anyone can Steal Lock when > Unlock. > >> Unable to Break lock through check for modifications Option >> Unable to break lock through Repo browser > BUT >

RE: pre-lock.bat Failed in Repo browser

2011-03-10 Thread Waseem Bokhari
Option of Steal Lock. Please advice. Muchas gracias! -Original Message- From: Michael Diers [mailto:mdi...@elego.de] Sent: Wednesday, March 09, 2011 4:47 PM To: Waseem Bokhari Cc: users@subversion.apache.org Subject: Re: pre-lock.bat Failed in Repo browser -BEGIN PGP SIGNED MESSAGE

Re: pre-lock.bat Failed in Repo browser

2011-03-09 Thread Michael Diers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-03-09 14:54, Waseem Bokhari wrote: > What is :--- > > set trc=C:\tmp\waseem\trace.txt That's for debug tracing. You can set trc=nul or even leave out all the lines to do with %trc% in the batch code I posted. - -- Michael Diers, elego Sof

RE: pre-lock.bat Failed in Repo browser

2011-03-09 Thread Waseem Bokhari
What is :--- set trc=C:\tmp\waseem\trace.txt Muchas gracias! -Original Message- From: Michael Diers [mailto:mdi...@elego.de] Sent: Wednesday, March 09, 2011 4:47 PM To: Waseem Bokhari Cc: users@subversion.apache.org Subject: Re: pre-lock.bat Failed in Repo browser -BEGIN PGP

Re: pre-lock.bat Failed in Repo browser

2011-03-09 Thread Daniel Shahaf
Michael Diers wrote on Wed, Mar 09, 2011 at 11:08:28 +: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2011-03-09 02:23, Daniel Shahaf wrote: > > Michael Diers wrote on Tue, Mar 08, 2011 at 09:39:11 +: > [...] > >> Wild guess: are you perhaps using the file:// access method when

Re: pre-lock.bat Failed in Repo browser

2011-03-09 Thread Michael Diers
hari > Cc: users@subversion.apache.org > Subject: Re: pre-lock.bat Failed in Repo browser > > On 2011-03-08 06:51, Waseem Bokhari wrote: >> Hi Experts! >>Below is the "pre-lock.bat " Script > >> Only User who lock the file can u

Re: pre-lock.bat Failed in Repo browser

2011-03-09 Thread Michael Diers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-03-08 14:04, Bert Huijben wrote: > I don?t think %VISUALSVN_SERVER% is set in your lock script. Subversion > explicitly clears most environment variables before calling hook scripts. > > Most likely your script can?t find svnlook.exe [...] Vi

Re: pre-lock.bat Failed in Repo browser

2011-03-09 Thread Michael Diers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-03-09 02:23, Daniel Shahaf wrote: > Michael Diers wrote on Tue, Mar 08, 2011 at 09:39:11 +: [...] >> Wild guess: are you perhaps using the file:// access method when >> browsing the repository? Hook scripts are run by the Subversion server

Re: pre-lock.bat Failed in Repo browser

2011-03-08 Thread Daniel Shahaf
Michael Diers wrote on Tue, Mar 08, 2011 at 09:39:11 +: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2011-03-08 06:51, Waseem Bokhari wrote: > > Hi Experts! > >Below is the "pre-lock.bat " Script > > > > Only User who lock the file can unlock the file. Oth

RE: pre-lock.bat Failed in Repo browser

2011-03-08 Thread Tony Sweeney
From: Waseem Bokhari [mailto:waseem.bokh...@netsoltech.com] Sent: 08 March 2011 14:24 To: 'Bert Huijben'; users@subversion.apache.org Subject: RE: pre-lock.bat Failed in Repo browser I d

Re: pre-lock.bat Failed in Repo browser

2011-03-08 Thread David Chapman
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 r

RE: pre-lock.bat Failed in Repo browser

2011-03-08 Thread Waseem Bokhari
'Waseem Bokhari'; users@subversion.apache.org Subject: RE: pre-lock.bat Failed in Repo browser I don't think %VISUALSVN_SERVER% is set in your lock script. Subversion explicitly clears most environment variables before calling hook scripts. Most likely your script can't find

RE: pre-lock.bat Failed in Repo browser

2011-03-08 Thread Bert Huijben
com] Sent: dinsdag 8 maart 2011 7:52 To: users@subversion.apache.org Subject: pre-lock.bat Failed in Repo browser Hi Experts! Below is the "pre-lock.bat " Script Only User who lock the file can unlock the file. Other users are forbidden to Unlock file. @echo off :

RE: pre-lock.bat Failed in Repo browser

2011-03-08 Thread Waseem Bokhari
Message- From: Michael Diers [mailto:mdi...@elego.de] Sent: Tuesday, March 08, 2011 2:39 PM To: Waseem Bokhari Cc: users@subversion.apache.org Subject: Re: pre-lock.bat Failed in Repo browser -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-03-08 06:51, Waseem Bokhari wrote: > Hi Expe

Re: pre-lock.bat Failed in Repo browser

2011-03-08 Thread Michael Diers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-03-08 06:51, Waseem Bokhari wrote: > Hi Experts! >Below is the "pre-lock.bat " Script > > Only User who lock the file can unlock the file. Other users are > forbidden to Unlock file. [...] > *Issue/Problem!!* > > This

pre-lock.bat Failed in Repo browser

2011-03-08 Thread Waseem Bokhari
Hi Experts! Below is the "pre-lock.bat " Script Only User who lock the file can unlock the file. Other users are forbidden to Unlock file. @echo off :: Set all parameters set repository=%1 set repopath=%2 set user=%3 :: Set path to svnlook set svnlook=%VISUALSVN_SERVER%b