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

Re: Remove items from source control without deleting them

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 16 Jul 2009 19:36:22 +0100

On Thu, Jul 16, 2009 at 02:17:30PM -0400, Christopher Clarke wrote:
> On 16/07/2009 13:49, Les Mikesell wrote:
> > Christopher Clarke wrote:
> >>>> Why should this delete the file locally from anyone else's working copy?
> >>> Ummm, because it is a versioned file and the point of a versioning
> >>> system is to make that happen...
> >> I don't want it to be a versioned file any more, for a good reason.
> >
> > On the other hand, you told the version control system to make sure that
> > it is versioned.
>
> Yep, oops, need to undo now.

There's a way to undo versioning, which involves dumping and
loading the repository, and filtering paths during loading:
http://subversion.tigris.org/faq.html#removal

You will lose history of the affected item this way, but maybe you
don't need that history anymore since you don't want the item versioned
anymore.

Note though that this approach will most likely invalidate all working
copies, so it may not suite your requirements entirely, since everyone
will have to get a fresh checkout (because you've changed history).

Still, this might be another option to consider.

Stefan
Received on 2009-07-16 20:37:31 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.