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

Re: svn commit: r12974 - branches/locking/subversion/libsvn_client

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-02-12 18:19:30 CET

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.


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

This is an archived mail posted to the Subversion Dev mailing list.

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