You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Fisher Jams <pr...@linuxtimes.net> on 2005/02/01 05:14:46 UTC
notice the hot-backup.py
<html><body><span style="font-family: arial,helvetica,sans-serif;"><font size="2">Hi, all:<br>
<br>
I have fixed an issue of hot-backup.py, please notice this if you have the same problem.<br>
<br>
I installed the Subversion with RPMs and copied the hot-backup.py script to the "hooks" folder.<br>
After I ran the scripts, there was an error information appeared, jusk like below:<br>
<br>
Beginning hot backup of '/repo/Test'.<br>
Traceback (most recent call last):<br>
File "./hot-backup.py", line 97, in ?<br>
youngest = string.strip(stdout_lines[0])<br>
IndexError: list index out of range<br>
<br>
This issue caused by define svnlook and svnadmin in line 31 and 33 of this script. I changed them like these below:<br>
svnlook = "/usr/bin/svnlook"<br>
svnadmin = "/usr/bin/svnadmin"<br>
<br>
So this script run well.<br>
</font></span><br> <br><hr>LinuxTimes.Net --> Open Source to everyone.<br></body></html>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: notice the hot-backup.py
Posted by Kenneth Porter <sh...@sewingwitch.com>.
--On Monday, January 31, 2005 9:14 PM -0800 Fisher Jams
<pr...@linuxtimes.net> wrote:
> I installed the Subversion with RPMs and copied the hot-backup.py script
> to the "hooks" folder.
> This issue caused by define svnlook and svnadmin in line 31 and 33 of
> this script. I changed them like these below:
> svnlook = "/usr/bin/svnlook"
> svnadmin = "/usr/bin/svnadmin"
Where did you get the RPM from? Sounds like it needs to be tweaked to edit
that script with the paths it installs the programs to. This is typically
done with a patch file included in the SRPM.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org