On Fri, 11 Feb 2005 fitz@tigris.org wrote:
> Author: fitz
> Date: Fri Feb 11 16:33:09 2005
> New Revision: 12974
>
> Modified:
> branches/locking/subversion/libsvn_client/locking_commands.c
> Log:
> Continue work on implementing the behaviors of the svn:needs-lock
> property: When locking and unlocking a file, flip the perms on the
> file if it has the svn:needs-lock property.
>
> * libsvn_client/locking_commands.c (svn_client_lock): If
> svn:needs-lock is set on a path that was just locked, change the
> file to read-write.
>
> (svn_client_unlock): If svn:needs-lock is set on a path that was
> just unlocked, change the file to read-only.
>
>
I think this belongs in svn_wc_add_lock and svn_wc_remove_lock. Parts of
the read-only flipping needs to be in libsvn_wc, so I think all knowledge
of it should go there.
Regards,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 12 18:19:07 2005