[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: Kurt Pruenner <leak_at_gmx.at>
Date: Tue, 22 Sep 2009 15:20:29 +0200

Bolstridge, Andrew wrote:
> 2. You accidentally checked in a 1Gb file and now you want to
> remove it to save disk space in your backups. This is relatively common
> in SVN as there are no filetype checks by default (you can set your
> client global-ignores, but if a new team member arrives and doesn’t read
> the corporate documentation because he thinks he knows what he’s doing,
> then you can easily get into this problem). In this case, you want to
> delete the file almost as soon as it enters the repository, and you’re
> not concerned about history or any other side effects.

Now, I haven't tried it, but shouldn't this be doable by

- taking the repository offline before someone else checks something in
- deleting the last revision(s) under revs and revprops
  (assuming you're using a FSFS repo)
- updating current accordingly
- starting the repository again

?

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
.......It might be written "Mindfuck", but it's spelt "L-A-I-N".......
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397902
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-22 15:21:38 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.