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

Re: "log" files, revision number

From: Colin Watson <cjwatson_at_flatline.org.uk>
Date: 2003-03-11 18:00:15 CET

On Tue, Mar 11, 2003 at 04:31:52PM +0000, Chris Wilson wrote:
> I've been using subversion pretty heavily for a while, and I've noticed
> that a large number of "log.0000000*" files are building up in the "db"
> subdirectory under my subversion root. There are about 3500 of them at 1Mb
> each, eating up about 3Gb of disk space.
>
> Are they safe to delete? Are they even necessary? Are they supposed to be
> deleted automatically at some point? I can see them becoming a maintenance
> headache =(. I'm running 0.17.1 (r4559), compiled Jan 24 2003.

Use db_archive (or db4.0_archive, db4.1_archive, etc. ...) to tell you
which ones aren't being used and can be deleted. I think hot_backup.py
knows how to do this for you automatically.

> I was also wondering whether there a clean way to find out the latest
> revision number of the repository cleanly via http. The only ways I know
> at present are to use "svnlook youngest" with a pathname, or to run
> 'lynx -source http://localhost/svn | head -1', neither of which is
> particularly satisfactory =)

'svn st -u | tail -1', maybe?

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 11 18:01:15 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.