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

Trimming repositories

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2005-09-23 06:09:01 CEST

If I remember correctly, is this a valid method of trimming the size of
repositories? Say I want to trim the first 100 revisions.

mkdir hooks
mv repos/hooks/* hooks/
svnadmin dump repos -r100 >dump.txt
rm -f -r repos
svnadmin create repos
svnadmin load repos <dump.txt
mv hooks/* repos/hooks/
rm dump.txt
rm -r -f hooks

I may have some syntax incorrect because bash is not my native
command-line, but it should be fairly close.

Is there anything wrong with this approach? I'm getting hassled by
repository users about being able to purge old data to free up disk space.

This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 23 06:11:07 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.