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

Re: Undoing last commit

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2004-07-21 04:55:36 CEST

If I'm correct, one of the principles of Subversion is that no data ever
gets destroyed. So, to make that commit go away, you would probably have to
do something along the lines of:

1. Dump your current repository to a dumpfile.
2. Backup your current repository in case something goes wrong.
3. Edit the dumpfile, removing the last revision.
4. Re-create the repository using 'svnadmin create'.
5. Load the edited dumpfile.

Someone more knowledgable than myself may have a better solution.

Sly

> Not quite grasping how the vendor drop thing was supposed to work, I
> committed a new copy of a vendor drop instead of a delta from the previous
> version, bloating my repository by the size of the entire drop. I'd now
> like to remove that, but I think if I just delete that tag, it leaves the
> storage consumed. Correct? If so, is there some way to undo the commit and
> release the storage? (I haven't committed anything since my error.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 21 04:56:13 2004

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