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

Re: svnadmin hotcopy bug?

From: Robert Dailey <rcdailey_at_gmail.com>
Date: Wed, 8 Oct 2008 21:34:42 -0500

yes, I did use zip.

Thank you for assisting me with the problem. Hopefully this will serve the
community as a reminder and motivate someone to apply your patch :)

On Wed, Oct 8, 2008 at 7:54 PM, eg <egoots_at_gmail.com> wrote:

> Robert Dailey wrote:
>
>> Hi,
>>
>> I was using hot-backup.py to backup a repository of mine, and I found out
>> that the db/transactions and db/txn-protorevs directories were removed in
>> the hotcopy destination copy. When doing a complete replacement of the
>> repository with the hotcopy copy, I kept getting errors that some *.txn
>> files couldn't be created until I manually created the 2 directories that
>> were missing.
>>
>> Is this issue known? Or is this issue caused by something else?
>>
>
>
> If you used the "-archive-type=zip" switch when you did a hot-backup.py
> then, yes it is a known issue.
>
> It was first reported in the users group in May
> see the thread starting at:
> http://svn.haxx.se/users/archive-2008-05/0171.shtml
>
>
> It turns out that the python script for (zip archive files only) doesn't
> handle archiving empty directories.
>
> I created a 1 line patch and posted it to the dev list
> See:
>
> http://svn.haxx.se/dev/archive-2008-05/0473.shtml
>
>
> You should be able to apply that patch locally (or use a different archive
> type) to get around the problem.
>
>
> I guess the patch never got applied by anyone and I don't have committers
> rights.
>
>
>
Received on 2008-10-09 04:34:57 CEST

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