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

Re: anything corresponding to pinning in VSS

From: Marc Haisenko <haisenko_at_comdasys.com>
Date: 2006-01-27 11:29:21 CET

On Friday 27 January 2006 11:10, Suruchi Parimu wrote:
> Marc, Shirish and All,
>
> Thanx... the per-commit hook sounds good...
>
> I have another query... Subversion has provision whereby anybody can edit a
> file without locking it unless the "Needs Lock" is specified... is there a
> way by which we can have the "Needs Lock" set automatically when a file is
> added. Of course the pre-commit hook can help here too, but is there a
> solution other than that.

AFAIK (we've never had the need for locks) you only have the pre-commit option
here, but don't take my word for it... I simply don't know for sure.

But I'd like to note that locks in SubVersion are not as hard as they are in
other VCS: they can be broken. See:
http://svnbook.red-bean.com/nightly/en/svn.advanced.locking.html#svn.advanced.locking.break-steal

I believe the most often cited example for this is that if Alice locks a file
and then goes on holiday for two months Bob wouldn't be able to edit this
file for two months if he can't break the lock.

> Regards,
> Suruchi

C'ya,
        Marc

-- 
Marc Haisenko
Comdasys AG
Rüdesheimer Straße 7
D-80686 München
Tel:   +49 (0)89 - 548 43 33 0
Fax:   +49 (0)89 - 548 43 33 29
e-mail: haisenko@comdasys.com
http://www.comdasys.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 27 11:33:47 2006

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.