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

Re: Q: how to remove a project within the repository?

From: Peter Toneby <woormie_at_acc.umu.se>
Date: 2003-03-20 14:23:24 CET

On Thu, Mar 20, 2003 at 07:06:06AM -0600, Ben Collins-Sussman wrote:
> Aid Voigt - DSP Solutions <aid.voigt@dspsolutions.de> writes:
>
> > Hi,
> >
> > I have a question I could not find an answer until now and I hope you
> > can help me.
> >
> > Is there a way to remove a project from the repository (let's say I
> > imported a project by accident)? I mean really remove it, not having
> > it not appearing?
>
> No. The repository is designed to *never* lose information. At best,
> you can remove things from HEAD, but they'll always exist in history.
>
> Someday we'll have fancy tools to do what you want -- see issue #516,
> 'svn obliterate'. But it's a big bag of worms.
>
> For now, you can 'svnadmin dump' the repository, edit the dumpfile to
> remove all mention of a file or directory, then 'svnadmin load' the
> data into a new repository. Someone is working on an 'svndumpfilter'
> program right now to help with this sort of thing.

I did something similar but I didn't edit the dumpfile, I just dumped
all revisions except the import, 'svn dump 0:importrev-1', note that I
could do this without a problem since I didn't do any changes to the
repository after the import. I can't say it will work if you have done
stuff to the repository after the import, but it might work to do:
svn dump 0:importrev-1 > tmp1
svn dump importrev+1:lastrev > tmp2
and the svn load those files.

Would that work you guys who know? It would be alot easier than handedit
the dumpfile...

/Peter

-- 
Alpha Test Version:  Too buggy to be released to the paying public. 
Beta Test Version:  Still too buggy to be released. 
Release Version:  Alternate pronunciation of "Beta Test Version". 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 20 14:24:12 2003

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.