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
>>root.
>>
>>$ svnlook youngest repo
>>67
>
>
> 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?
Thanks,
Michael
---------------------------------------------------------------------
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