[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 on windows

From: Glenn Carr <GCarr_at_ConnectShip.com>
Date: 2004-05-26 16:43:48 CEST

Damian,

Thanks. Unfortunately, with those changes I'm still getting the same error:

---------------------------------------------
D:\SVN>hot-backup.py d:\svn\gcarr d:\svn\tmpbackup
Beginning hot backup of 'd:\svn\gcarr'.
Youngest revision is 20
Backing up repository to 'd:\svn\tmpbackup\gcarr-20'...
Traceback (most recent call last):
  File "D:\SVN\hot-backup.py", line 131, in ?
    backup_subdir, "--clean-logs")
  File "C:\Python22\lib\os.py", line 522, in spawnl
    return spawnv(mode, file, args)
OSError: [Errno 2] No such file or directory
---------------------------------------------

Glenn

> -----Original Message-----
> From: Damian Powell [mailto:DamianP@cgp.co.uk]
> Sent: Wednesday, May 26, 2004 3:20 AM
> To: 'users@subversion.tigris.org'
> Subject: RE: hot-backup.py on windows
>
>
> Yeah, I had the same problem. I got it to work by changing the global
> settings section (line 30-34) to:
>
> # Path to svnlook utility
> svnlook = "C:\\Progra~1\\Subversion\\bin\\svnlook.exe" # svnlook =
> "@SVN_BINDIR@/svnlook"
>
> # Path to svnadmin utility
> svnadmin = "C:\\Progra~1\\Subversion\\bin\\svnadmin.exe"
> # svnadmin =
> "@SVN_BINDIR@/svnadmin"
>
> ...and by changing the invocation of spawnl (line 128) to:
>
> err_code = os.spawnl(os.P_WAIT, svnadmin, svnadmin,
> "hotcopy", repo_dir,
>
>
> Hope that helps.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 26 16:48:32 2004

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.