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

Is there any way to truncate a subversion repository other than dump/load?

From: Stephen Connolly <stephen.alan.connolly_at_gmail.com>
Date: Tue, 28 Jul 2009 10:54:34 +0100

Hi,

We have a repo with 70+k transactions.

We have a mirror on the other side of the atlantic.

Something went wrong with our svnsync process, and somebody "forced" things
and the nett result is that revision 72345 has been committed twice, once as
72345 and the second time as 72346. Short of doing a dump/load, is there
any way I can truncate the repo back to 72344 and then run svnsync from
there again? (the reason being that the mirror has not got enough disk space
to hold the dump and the repo at the same time, and the mirror is 3000 miles
away from me, and the WAN link will be saturated if I try to pull the whole
mirror over again)

I was hoping for something like "svnadmin trunc -r 72344 path/to/my/repo"

Thanks in advance,

Oh, Subversion 1.5.5, Apache 2.2.3 on RHEL4

-Stephen

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2376248

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-28 11:55:59 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.