[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: Brian W. Fitzpatrick <fitz_at_collab.net>
Date: 2005-02-14 15:06:34 CET

On Feb 12, 2005, at 11:19 AM, Peter N. Lundblad wrote:

> 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.

Yep, you're right. I'll take care of that this morning.

Thanks,

-Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 14 15:09:00 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.