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

Re: break lock in repo browser

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-02-21 18:37:16 CET

Nicolas Brouard wrote:
> I'm a Subversion admin and I don't want that the users break or steal the
> locks. So I use the pre-lock hook on the repository which is working well if
> the users try to get lock with a right-click on a file. But they still can
> break lock with the repo browser. My pre-lock hook is not called in this
> case. Do you know what can I do to avoid users breaking lock?

You should check your hook script. The repository browser doesn't do
anything different than what you can do from your working copy. The only
difference is that by using the repobrowser to steal/break a lock, URL's
are used instead of local paths - but even the local paths are converted
to URLs by the Subversion lib before contacting the repository.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Feb 21 18:37:30 2007

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

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