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

RE: Re: [svn 1.3.1] Revision Number changes on import via "svnadmin load"

From: Hans Van Ingelgom <hans_at_edna.be>
Date: 2007-01-31 11:58:31 CET

> Maybee I schould explain what I want:
> - Curr. rev. is 1337 (takes about 1gig)
> - I have to reduce the repo-size. So I want to wipe out the 1000
> first revs.
> - doing an dump/load from 1000-1337 gives me 337 revs in the new
> repo, but starting with 1!
> - so everybody get's aware of my changes. Thats not good. :-(
>
> Is there a way to reduce the size, but keep the rev. number?

If all else fails, you could write a script that commits 999 revisions
of a small file? There would still be overhead, but not that much I
guess.

Something like this:

for i in `seq 999`; do echo $i > tempfile.txt; svn commit -m "Fake
commit $i" tempfile.txt; done

Just an idea, you'll have to see for yourself if that works

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 31 11:58:56 2007

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.