[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

hot-backup.py.in patch

From: Michael Price <mprice_at_atl.lmco.com>
Date: 2003-11-03 20:53:07 CET

Small patch to the spawn command that runs svnadmin. My python doesn't
like the original.

Michael

Index: tools/backup/hot-backup.py.in
===================================================================
--- tools/backup/hot-backup.py.in (revision 7620)
+++ tools/backup/hot-backup.py.in (working copy)
@@ -125,7 +125,7 @@
 ### copied last.
 
 print "Backing up repository to '" + backup_subdir + "'..."
-err_code = os.spawnl(os.P_WAIT, svnadmin, " hotcopy ", repo_dir,
+err_code = os.spawnl(os.P_WAIT, svnadmin, "svnadmin", "hotcopy", repo_dir,
                      backup_subdir, "--clean-logs")
 if(err_code != 0):
   print "Unable to backup the repository."

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 3 20:55:21 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.