Unterberg, Norbert wrote:
>>There is a problem when running 'svnlook' in the script. Try
>>running it by hand (svnlook youngest /path/to/repos),
>>and you'll see the error.
>No, svnlook youngest /path/to/repos works and returns a single number.
>The problem here is that svnlook.exe itself could not be executed. The
>script tries to run "@SVN_BINDIR@/svnlook". Can anyone tell me where the
>python script is supposed to get @SVN_BINDIR@ from? Do I have to set an
>environment variable, install some binding or what? Os is that a
>python/svn feature that is not implemented in the windows version?
>When I replace "@SVN_BINDIR@/svnlook" with just "svnlook" in the script,
>hot-backup.py executes for some more lines, until it failes here:
>C:\x\svn_test>hot-backup.py test backup
>Beginning hot backup of 'test'.
>Youngest revision is 0
>Backing up repository to 'backup\test-0'...
>Traceback (most recent call last):
> File "C:\x\svn_test\hot-backup.py", line 130, in ?
> backup_subdir, "--clean-logs")
> File "C:\PROGRA~1\PYTHON~1.3\Lib\os.py", line 523, in spawnl
> return spawnv(mode, file, args)
>OSError: [Errno 2] No such file or directory
>It can not find the svnadmin application.
>Only if I change the svnadmin and svnlook variables to specify the
>complete path of the applications, it works.
>What is the configuration error I made? Where does the @SVN_BINDIR@
>directory name come from?
The @SVN_BINDIR@ is usually substituted for a real path when you run
'make' to install the package. Seeing as you're on Windows, I imagine
the process is different. How did you obtain the hotbackup script?
You'll have to go through the script and manually update all of those
Received on Fri Jul 2 17:54:57 2004