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

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

From: Bob Proulx <bob_at_proulx.com>
Date: 2005-08-07 21:30:19 CEST

Holger Stratmann wrote:
> 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).

Use something like:

  mv /path/to/repository /path/repos.old
  svnadmin dump -r0:12345 /path/repos.old | svnadmin load /path/repos

Read this section of the book.

  http://svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.1.2

Search the mailing list archives for "svnadmin" "dump" and "load" and
you should fine various examples. This is a very similar problem to
the one of changing underlying database formats.

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 7 21:32:01 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.