[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: nick vajberg <nickvajberg_at_yahoo.dk>
Date: 2005-09-23 14:59:53 CEST

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 23 15:00:49 2005

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