From: Micah Anderson Date: Sat, 5 Nov 2005 11:41:46 +0000 (+0000) Subject: Updated svn handler for new hotcopy functionality X-Git-Tag: backupninja-0.9.2~77 X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=commitdiff_plain;h=2d96b777ad4a0d580abc82af8d98687752aec554 Updated svn handler for new hotcopy functionality --- 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