[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

From: Waseem Bokhari <waseem.bokhari_at_netsoltech.com>
Date: Fri, 8 Apr 2011 11:47:38 +0500

Sorry ; I think am failed to make you guys understand my Q.
Purpose: In My organization ; we want users only can Unlock any file or
folder who Lock them. No one can steal lock. I have write down a script
Attached script applied and working pretty much. Only users who lock the
Files can break the lock. No other one can do so.
User A > Lock the file
User B> Cannot unlock from Repo Browser
Even Unable to LOCK from Checkout Folder as TSVN prompt an error.
BUT Scenario FAILED(My Attached Script failed) when User B used "SVN Get
Lock" and Check the Steal lock Option from the below screen and HE GET
AND he LOCK get Stolen:
MY Question: Why It happened? Is there any way that No one can steal the
Lock except Owner of the Lock.
Thanks for understanding.
Waseem Bokhari
From: Feldhacker, Chris [mailto:Feldhacker.Chris_at_principal.com]
Sent: Thursday, April 07, 2011 7:16 PM
To: users_at_tortoisesvn.tigris.org
Subject: RE: Pre-Lock.bat
When he tries to break a lock via the Repo-Browser it fails with a 500
When he tries to get a lock via the "SVN Get Lock" context menu option it
correctly reports another user already has the lock.
When he tries to break a lock via the "SVN Get Lock" context menu and
chooses the "steal lock" option, then this also works correctly and the lock
is stolen.
Why would trying to break a lock using the Repo-Browser result in a 500
error, but doing the same thing via the context menu path work?

From: Simon Large [mailto:simon.tortoisesvn_at_gmail.com]
Sent: Thursday, April 07, 2011 8:44 AM
To: users_at_tortoisesvn.tigris.org
Subject: Re: Pre-Lock.bat
You didn't ask a question. You included a lot of screenshots which did not
seem to relate much to the text. I have absolutely no idea what you are
asking, but the one screenshot shows a server error message and the script
is a server-side hook script, so I'm guessing the question you would have
asked has to do with the Subversion server. You should ask it on the
subversion users mailing list, not this one.
<Snip big array of screenshots and HTML mail>

:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
-----Message Disclaimer-----
This e-mail message is intended only for the use of the individual or entity
to which it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If you are not
the intended recipient, any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by reply email to
Connect_at_principal.com and delete or destroy all copies of the original
message and attachments thereto. Email sent to or from the Principal
Financial Group or any of its member companies may be retained as required
by law or regulation.
Nothing in this message is intended to constitute an Electronic signature
for purposes of the Uniform Electronic Transactions Act (UETA) or the
Electronic Signatures in Global and National Commerce Act ("E-Sign") unless
a specific statement to the contrary is included in this message.
While this communication may be used to promote or market a transaction or
an idea that is discussed in the publication, it is intended to provide
general information about the subject matter covered and is provided with
the understanding that The Principal is not rendering legal, accounting, or
tax advice. It is not a marketed opinion and may not be used to avoid
penalties under the Internal Revenue Code. You should consult with
appropriate counsel or other advisors on all matters pertaining to legal,
tax, or accounting obligations and requirements.
DISCLAIMER:  This e-mail and any file transmitted with it are confidential and intended solely 
for the use of the addressee.  If you are not the intended recipient, you are hereby advised that
any dissemination, distribution or copy of this email or its attachments is strictly prohibited.  If you
have received this email in error, please immediately notify us by return email and destroy this email 
message and its attachments.  This communication may contain forward-looking statements
relating to the development of NetSol Technologies' products and services and future operations.
The words "believe," "expect," "anticipate," "intend," variations of such words, and similar 
expressions, identify forward looking statements, but their absence does not mean that the 
statement is not forward-looking.  Views and opinions contained herein are those of the author of 
this email and do not necessarily represent those of NetSol Technologies.  Statements contained 
herein are not guarantees of future performance and are subject to certain risks, uncertainties and 
assumptions that are difficult to predict. The company will not undertake to update any statements 
contained herein.
WARNING: The recipient should check this email and any attachment for the presence of viruses. 
Although the company has taken reasonable precautions to ensure no viruses are present in this 
email, the company does not accept responsibility for any loss or damage arising from the use of 
this email or attachment. Note: Please consider the environment before printing this e-mail.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

image001.png image002.png image003.png image004.png image005.png
Received on 2011-04-08 08:49:57 CEST

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