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

notice the hot-backup.py

From: Fisher Jams <press_at_linuxtimes.net>
Date: 2005-02-01 06:14:46 CET
Hi, all:

    I have fixed an issue of hot-backup.py, please notice this if you have the same problem.

I installed the Subversion with RPMs and copied the hot-backup.py script to the "hooks" folder.
After I ran the scripts, there was an error information appeared, jusk like below:

Beginning hot backup of '/repo/Test'.
Traceback (most recent call last):
  File "./hot-backup.py", line 97, in ?
    youngest = string.strip(stdout_lines[0])
IndexError: list index out of range

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"

So this script run well.

 

LinuxTimes.Net --> Open Source to everyone.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on Tue Feb 1 07:12:55 2005

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.