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

Re: [PATCH] Revert and svn:needs-lock

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-04-27 04:19:01 CEST

"D.J. Heap" <dj@shadyvale.net> writes:

> Any objections to committing this if it passes all tests? It's passed
> ra_local on Windows and Linux so far.
> Log:
> Make revert restore the 'read-only-ness' of files with the
> svn:needs-lock property set.
> * subversion/libsvn_wc/adm_ops.c
> (revert_admin_things): Call svn_wc__maybe_set_read_only to look
> at the svn:needs-lock property and set read-only-ness accordingly
> after reverting file or property modifications.

It doesn't have a regresssion test.

Don't make a file read-only if the required lock is present.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 27 04:20:11 2005

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