On Thursday 07 April 2005 04:37, David Colton wrote:
[snip]
> C:\Program Files\Subversion\tools\backup>hot-backup.py \SVNRepository
> \SVNBackup
>
> Beginning hot backup of '\SVNRepository'.
>
> Youngest revision is 2270
>
> Backing up repository to '\SVNBackup\SVNRepository-2270'...
>
> Traceback (most recent call last):
>
> File "C:\Program Files\Subversion\tools\backup\hot-backup.py", line
> 129, in ?
>
> backup_subdir, "--clean-logs")
>
> File "C:\PROGRA~1\PYTHON~2\lib\os.py", line 523, in spawnl
>
> return spawnv(mode, file, args)
>
> OSError: [Errno 2] No such file or directory
>
> I've tried rewriting the os.spawnl as os.spawnv with no luck. I've
> tried all forms of paths. I've tried running in sh.exe from the Gnu
> UnixTools. I always get this exact same error.
The above error suggests that it isn't finding your 'svnadmin' tool. If
you edit hotcopy.py, there are two lines at the top:
# Path to svnlook utility
svnlook = "/usr/local/bin/svnlook"
# Path to svnadmin utility
svnadmin = "/usr/local/bin/svnadmin"
You need to edit those paths so that they point to the 'svnlook' and
'svnadmin' tool, respectively.
-John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 7 16:40:27 2005