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

How to remove *latest* revision(s) from repository?

From: Holger Stratmann <tigris_at_finch.de>
Date: 2005-08-07 20:11:33 CEST

Hi guys,

can anybody tell me how to easily remove the lastest revision(s) /
commit(s) from the repository?

I know the question "how do I delete [something] from the repository" is
asked every now and then and the answer always is: "You're not supposed
to *remove* anything from a VCS."

However, I'm only talking about the *lastest* commit (the latest n
commits), so it's pretty much a "rollback commit" and shouldn't have any
side effects (somebody just committed something they shouldn't have and
it's really big and I don't want to have it there!!!). The number of
affected working copies is not significant (pretty much just one).

I'm using fsfs, so it should be fairly easy. (?)
I remember that I just deleted a revision file before and it didn't work
because Subversion (obviously) stores the current revision number
somewhere, supposedly in "db/current"? I restored that file and it worked...
Unfortunately, I don't have the previous version of that file this time...

Can anybody help me? Creating a binary file of 10 bytes length with some
content is not a problem :-) (as long as I know what it's supposed to be...)

Thanks a lot,


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 7 20:13:15 2005

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.