Andy Tawse wrote:
> Hi there,
>
> I'm trying to backup a repository on Windows XP using the
> hot-backup.py script which I took out of the source.
>
> The command I ran is C:\Program Files\Subversion>hot-backup.py
> c:\svn\project2 c:\admin\svn_repos_backup
>
> c:\svn\project2 is the location of my repository and
> c:\admin\svn_repos_backup is where I want to back it up
>
> I had some problem with :
>
> File "C:\Program Files\Subversion\hot-backup.py", line 97, in ?
> youngest = string.strip(stdout_lines[0])
> IndexError: list index out of range
I receive this error when I run the script with a target (backup)
directory that doesn't exist. Also, another line is appended that says
something like "[backup directory] no such file or directory".
Best regards,
Jan Nielsen
>
> but I solved this by setting :
>
> svnlook = "svnlook" and svnadmin = "svnadmin"
>
> The problem I have now is :
>
> Path to repo : project2
> Beginning hot backup of 'c:\svn\project2'.
> Youngest revision is 10
> Backing up repository to 'c:\admin\svn_repos_backup\project2-10'...
> Traceback (most recent call last):
> File "C:\Program Files\Subversion\hot-backup.py", line 131, in ?
> backup_subdir, "--clean-logs")
> File "C:\PROGRA~1\PYTHON~1.3\lib\os.py", line 566, in spawnl
> return spawnv(mode, file, args)
> OSError: [Errno 2] No such file or directory
>
> Seems like there is a problem with one of the paths when calling
> svnadmin through os.spawnl (thats on line 131).
>
> Has anyone had any similar problems or knows of solution?
>
> Thanks.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 30 20:08:31 2004