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

Re: file already exists error during svnadmin load

From: Stephen Connolly <stephen.alan.connolly_at_gmail.com>
Date: Wed, 13 May 2009 07:42:14 +0100

2009/5/12 Brian Larkin <blarkin_at_gmail.com>

> Stephen,
>
> Thanks for the quick reply. I dug around through the file and it does
> indeed appear to be interwoven as you suggested. I'm at a loss to
> describe how it happened. Obviously one of the scripts I was using to
> back up the system did something strange. Any idea on how to salvage
> this repository?
>

That depends, can you run your dump file through grep, e.g.

fgrep "Revision-number: " mydumpfile.svndump

if you see two Revision-number: nnn lines for every revision nnn then you
are fecked... you must have ran two dumps in parallel and they both were
appending to the same file at the same time.

if you only see one Revision-number: nnn for each revision, then you should
be able to skip the first few bytes until you reach the second header.

-Stephen

>
> Thanks,
> Brian
>
> On Mon, May 4, 2009 at 5:24 AM, Stephen Connolly
> <stephen.alan.connolly_at_gmail.com> wrote:
> > Looks like the first 4 lines are duplicated
> >
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2230472

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-13 08:43:27 CEST

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

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