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

Re: Strange error messages in svnadmin lsdblogs

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-08-19 16:37:02 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> Michael Wood <mwood@its.uct.ac.za> writes:
>
>> On Mon, Aug 18, 2003 at 09:38:58PM -0500, Ben Collins-Sussman wrote:
>> > plasma <plasmaball@pchome.com.tw> writes:
>> >
>> > > Hi all,
>> > >
>> > > Doing a 'svnadmin lsdblogs' to a repository that already have logfiles
>> > > deleted shows strange error messages. Please see the following logs:
>> > >
>> > > plasma@plasmanb:~> svnadmin lsdblogs ~/SVN_ROOT | xargs rm
>> >
>> > You just deleted ALL your logs!! I suspect your repository is now dead.
>> >
>> > You need to pass --only-unused.
>>
>> This is exactly why I suggested that the "only-unused" be the default.
>
> Heh, I got burned by this change too, and destroyed a test repository
> by accident.

Me too, it's possible we didn't choose the correct behaviour, being
different from db_archive could be a mistake.

> But I understand the counter-argument: the name 'lsdblogs' does
> exactly what it says -- lists the logs.

Changing the behaviour of lsdblogs now is a bit of a problem, the
potential to silently break existing scripts is high. Perhaps we need
another new command?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 22 06:08:04 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.