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

RE: Delete *for real* from a repository

From: Bolstridge, Andrew <andy.bolstridge_at_intergraph.com>
Date: Thu, 17 Sep 2009 11:06:22 +0100

> -----Original Message-----
> From: Jo Support [mailto:jo.support_at_gmail.com]
> Sent: Thursday, September 17, 2009 10:19 AM
> To: users_at_subversion.tigris.org
> Subject: Delete *for real* from a repository
> Hi everybody,
> I'm using SVN 1.4.4 on CentOS and I need - for administration purpouse
> - to delete *for real* a whole directory from the repository. As
> everybody knows, deleting using the "delete" command just adds a new
> revision, without freeing space on the disc. I googled my issue,
> reading that it's impossible to delete for real something on a
> repository, and a filtered dump with a following reimport is needed.
> I didn't understand if a dump plus import preserve revision history
> for the other files in the repository - I just made one import in my
> life, when we migrated from cvs to svn, and - obviously - it started
> from revision 1, because of the different type of source repository.
> But, I would like to know if updating my SVN (b.e. from 1.4.4 to
> 1.6.5) there will be a new feature that could let me delete for real
> something without dumping and importing.

No, "svn obliterate" is still not implemented. Currently (and for the
foreseeable future) your only hope is to either a) use
svndump+filter+load, b) write the obliterate code for svn yourself.

Dumping the repo will preserve all revision history, with the exception
of the filtered revisions. If you're concerned how it will work, dump
your repo to a test and leave the real one running while you experiment
with it. Filtering out revisions may affect the revision numbers, so if
you use them, you might want to check.

You can also load the repo into a more up-to-date SVN version, which is
well recommended anyway.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-17 12:07:23 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.