Re[2]: hot-backup.py bug?
From: Sandy Pérez <sperezgonza_at_yahoo.es>
Date: Thu, 24 Sep 2009 22:39:02 +0200
Hello,
I’ve enclosed a possible patch to this e-mail. The patch works for me,
The modified and/or added code is between the following comments
######################################################################
... new and changed code
############# END PATCH
IMPORTANT: I’ve modified the hot-backup.py included in Subversion
Regards,
> Hello,
> I’m sorry this bug is already in the bug tracker as "svnlook youngest
> http://subversion.tigris.org/issues/show_bug.cgi?id=1567
> A solution could be to change the order of calls. For example, we can
> svnadmin hotcopy REPO_DIR /BACKUPS_DIR/tmp_backup
> And now, we can call the "svnlook youngest" command on the temporal
> svnlook youngest /BACKUPS_DIR/tmp_backup
> Then, calculate the next available backup path using the result
> Doing this, we can be sure that the revision backed up in BACKUP-30 is
> Regards,
>> Hello,
>> Looking at hot-backup.py code, I realized that the script calculates
>> After having calculated the next available backup path, then the
>> Suppose we run the hot-backup.py script. The script will calculate the
>> svnadmin hotcopy REPO_DIR /BACKUPS_DIR/My_Repo-30.
>> That is, in My_Repo-30, we will have a backup of the 31th revision.
>> Is this a bug?
>> Best Regards,
>> ------------------------------------------------------
>> To unsubscribe from this discussion, e-mail:
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
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.