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

Re: hot-backup.py failing

From: Michael Hipp <Michael_at_Hipp.com>
Date: 2005-06-04 15:09:23 CEST

John Szakmeister wrote:
> On Saturday 04 June 2005 08:17, you wrote:
>>Thanks. This seems ok. Gives the same result whether run as me or as
>>$ svnlook youngest repo
> Can you check the path to svnlook in your hot-copy.py.in script? BTW,
> the .in is supposed to drop after you do the configure and build. There
> may be some other path problems in the script if you're using the .in
> file directly.

I added the print statement below to the script.
   # Path to svnlook utility
   svnlook = "@SVN_BINDIR@/svnlook"
   print "svnlook:", svnlook

Here's what I get:
   $ ./hot-backup.py.in repo repobackups
   svnlook: @SVN_BINDIR@/svnlook
   Beginning hot backup of 'repo'.
   Traceback (most recent call last):
     File "./hot-backup.py.in", line 98, in ?
       youngest = string.strip(stdout_lines[0])
   IndexError: list index out of range

Which hardly looks right. Here's what is needed:
   $ whereis svnlook
   svnlook: /usr/bin/svnlook /usr/share/man/man1/svnlook.1.gz

So should I just hack the script and add the path or is it looking for
an env variable?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 4 15:09:16 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.