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

Re: refrobnicated repository again

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-01-25 19:40:28 CET

On Fri, Jan 25, 2002 at 10:36:02AM -0600, cmpilato@collab.net wrote:
>...
> Not really. We could do something that small inline in the
> post-commit hook, right?
>
> for logfile in `db_archive -a -h ${repos}/db`; do rm ${logfile}; done
>
> I mean, that's all there is to it, correct?

Invoke it from somewhere, somehow. Cron, foreground, background...

But simpler:

$ /usr/local/BerkeleyDB.4.0/bin/db_archive -a -h ${repos}/db | xargs rm

Much nicer than a loop...

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:00 2006

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.