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

Re: Removing a needs-lock file

From: D.J. Heap <dj_at_shadyvale.net>
Date: 2005-04-27 05:53:59 CEST

Brian W. Fitzpatrick wrote:
[snip]
>
> Well, to enforce that would require a somewhat different line of coding
> than we've currently been using...
>
> In any case, I think it's OK that 'svn rm' can delete a file if
> svn:needs-lock is set. The purpose of svn:needs-lock is to act in an
> advisory capacity so as to prevent more than one person from making
> changes to an unmergable file: Your editor should notice that the file
> is read-only and notify you of this (then you can 'svn lock' the file
> and go about your business).
>
> If you 'svn rm' a file with svn:needs-lock and another user actually has
> a lock on the file, your commit will fail. If you 'svn rm' a file and
> no one else has a lock on the file, the nothing's lost.
>
> -Fitz

Yes, I can accept that.

Thanks,

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 27 05:57:17 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.