[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: Jo Support <jo.support_at_gmail.com>
Date: Thu, 17 Sep 2009 12:26:56 +0200

Thanks for the replies!

I have one last noob question: it
is possible - almost certain - that my repository is full with hidden
(deleted) path that I would like to get rid of too. I don't remind
where and when I deleted things in the labyrinth of directories inside
my repo, so I would like to know if there is an option for the dump
filter to exclude all files/dirs that on the head are deleted/hidden.
I read the article suggested by Nick (thanks!) but I've missed (or I
didn't understand) something about this issue.

On Thu, Sep 17, 2009 at 12:06 PM, Bolstridge, Andrew
<andy.bolstridge_at_intergraph.com> wrote:
>> -----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:28:04 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.