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

Re: Permanently delete a revision?

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-05-17 16:29:22 CEST

Luke Youngblood wrote:
> Thanks, but I'd rather not do a complete dump. Since I'm using FSFS, and
> if
> I don't care about any of the revs after the bad commit, couldn't I just
> delete that rev along with all subsequent revs?
>
> For example:
>
> rm /svn/db/revs/150 /svn/db/revs/151 ...
> rm /svn/db/revprops/150 /svn/db/revprops/151 ...
>
> Then I guess I would have to update the /svn/db/current file, which
> currently looks like this:
>
>> cat current
> 188 82 1
>
> ... and decrement the first number (last rev number).
>
> I'm just guessing at all of this, but I don't want to corrupt my
> repository.

Well, you've got a supported-but-slow, or a fast-but-unsafe method. Your
choice.

I have actually used the method you outlined above from time to time on
temporary test repositories, but I'm *not* sufficiently confident to
recommend it to anyone.

Max.

> -----Original Message-----
> From: Shatzer, Larry [mailto:Larry.Shatzer@MIROtechnologies.com]
> Sent: Tuesday, May 17, 2005 9:48 AM
> To: 'Luke Youngblood'; users@subversion.tigris.org
> Subject: RE: Permanently delete a revision?
>
> That's answered in the FAQs.
>
> http://subversion.tigris.org/faq.html#removal
>
> -----Original Message-----
> From: Luke Youngblood [mailto:lyoungblood@phonechargeinc.com]
> Sent: Tuesday, May 17, 2005 6:44 AM
> To: users@subversion.tigris.org
> Subject: Permanently delete a revision?
>
>
> Hi,
>
> It seems in my rush to get my whole life versioned, I imported some
> private
> SSH keys into the repository that I really don't want there. Can anyone
> tell me how to permanently delete a revision? I want to remove it from
> the
> repository completely, so that nobody can revert to it and retrieve those
> private keys. I'm using FSFS type repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 17 16:35:20 2005

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