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

Re: Re: Re: Feature request:: Unversioning files (svn rm --keep-in-wc)

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-09-23 16:56:47 CEST

nick vajberg wrote:
> --- Malcolm Rowe <malcolm-svn-dev@farside.org.uk>
> wrote:
>> On Fri, Sep 23, 2005 at 01:02:26PM +0200, nick
>> vajberg wrote:
>>>> What would happen to other users' project files
>> when
>>>> updating the
>>>> --keep-in-wc removed file?
>>>
>>> It would be unversioned, of course.
>>
>> So, in other words, this is effectively a new
>> operation, something like
>> 'delete-but-don't-delete-working-copy', that must be
>> communicated across
>> the RA layers and stored in the repository?
>
> Perhaps not? I don't know SVN's internals much, but
> how about this:
>
> svn rm --keep-in-wc removes the file from the
> repository, as with normal rm.
>
> But the server also sets a property on the parent
> directory indicating that the file should not be
> removed from the WC. Assuming the WC lib receives
> propchanges on the directory first, it could just
> ignore the upcoming REMOVE commands for files listed
> in the "keep-in-wc" list. It would then remove the
> relevant entries in the .svn admin area.
>
> Or perhaps not...

And the "keep-in-wc" property then lives on on the directory in perpetuity?
Too messy, I think.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 23 16:57:33 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.