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

Re: Is that possible to enforce lock-modify-unlock model in a repository

From: David Weintraub <qazwart_at_gmail.com>
Date: 2005-08-19 20:47:54 CEST

I'm not sure how forcing locks on every file will improve your
situation. But, as everyone else mentioned, you can put the property
"svn:needs-lock" on every file.

I'm not sure why you say autoprops is not a good solution since it
will automatically add this property to every file you create.

Maybe you're talking about an enforcement mechanism to ensure that
this property is set? After all, a user can remove the property, or if
the user doesn't have their conf file setup correctly, the
svn:needs-lock won't be set.

I have a hook that will check properties and prevent commits if the
properties on that file aren't setup correctly. If someone removes
svn:needs-lock or creates a file without this property, they won't be
able to commit any changes unless they attach svn:needs-lock back on
the file.

Will this help?

On 8/18/05, William Yeung <williamyeung@v-logic.net> wrote:
>
> Dear All,
> I am a newbie in subversion, while I found the facilities are great
> (especially with TortoiseSVN), I have an issue here- my team are more used
> to lock-modify-unlock mechanism, and I have bad habits on forgot to check in
> source code, so this is more suitable for us :P Is there anyway to enforce
> such policy within an repository?
>
> William Yeung
> IT Manager
> V-Logic Limited
>
> E-Mail: williamyeung@v-logic.net
> Direct: 3102 3552
> Fax: 3101 0121
>

-- 
--
David Weintraub
qazwart@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 19 20:51:12 2005

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.