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

Removing unused logs

From: Sander Striker <striker_at_apache.org>
Date: 2003-10-30 19:29:18 CET

Hi,

In #1571 there is a patch that provides us with svnadmin hotcopy:

  svnadmin hotcopy [--cleanlogs] SRC DEST

The patch is looking good, but I have some questions regarding
the pruning of logs.

The command comes with an option --cleanlogs, which removes the logs
not in use anymore from SRC. Now, I can see why it would do that.
I'm wondering if it should remove the logs from DEST aswell, or not
to touch it. Basically, what if I want to clean the logs from DEST,
am I back to using svnadmin lsdblogs | xargs rm?

Or should be grow a command cleanlogs, which does what the --cleanlogs
option to hotcopy does? If we do that, the user can decide when to
clean out logs (without requiring a hotcopy), safely all the time.
Then there is also the option of the user using svnadmin cleanlogs on
DEST. hotbackup.py can use svnadmin hotcopy SRC DEST, followed by
svnadmin cleanlogs SRC to maintain current behaviour.

Thoughts?

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 30 19:30:25 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.