From e20c71256d6ded15df0341d32e77217614dd127d Mon Sep 17 00:00:00 2001 From: micah Date: Sat, 5 Nov 2005 11:41:46 +0000 Subject: [PATCH] Updated svn handler for new hotcopy functionality git-svn-id: http://code.autistici.org/svn/backupninja/trunk@219 758a04ac-41e6-0310-8a23-8373a73cc35d --- ChangeLog | 2 ++ examples/example.svn | 5 ++++- handlers/svn | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7252a35..cce623c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ version 0.9.1 -- unreleased added makecd ninjahelper (thanks to Stefani stefani@riseup.net) made ninjahelper create files with mode 600 rather than 000 + changed subversion handler to use svnadmin hotcopy instead of + the unsupported hot-copy.py script, which was moved in Debian version 0.9 -- October 19 2005 *** IMPORTANT CHANGE, UPGRADE AT ONCE *** diff --git a/examples/example.svn b/examples/example.svn index e849706..ea43601 100644 --- a/examples/example.svn +++ b/examples/example.svn @@ -17,7 +17,10 @@ # tmp = /var/backups/svn.tmp ## the hotbackup program to use. +## svnadmin hotcopy now exists, the following script is located +## in /usr/share/doc/subversion/examples now if you wish to use +## it instead # HOTBACKUP = /usr/lib/subversion/hot-backup.py ## the name of the vserver containing svn, if using vservers -# vsname = \ No newline at end of file +# vsname = diff --git a/handlers/svn b/handlers/svn index 6ac5402..9a611c0 100644 --- a/handlers/svn +++ b/handlers/svn @@ -5,7 +5,7 @@ getconf src /var/lib/svn getconf dest /var/backups/svn getconf tmp /var/backups/svn.tmp -getconf HOTBACKUP /usr/lib/subversion/hot-backup.py +getconf HOTBACKUP "/usr/bin/svnadmin hotcopy" getconf vsname error=0 -- 2.30.2