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

Re: Auto-cleaning of log files?

From: Michael Price <mprice_at_atl.lmco.com>
Date: 2003-04-04 00:55:22 CEST

Tobias Ringstrom wrote:
> I think that the ever growing amount of log files will be a surprise for a
> lot of subversion newbies. I know that it's described in the book, but I
> fear that a lot of new users will not study the book as closely as one
> might hope for. Built-in support for removing unused log files would
> probably help a lot. Just a thought...

There is built-in support. Put something like this in your post-commit hook.

#!/bin/sh

db_archive -a -h /path/to/repo/db | xargs rm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 4 00:54:47 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.