[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 question

From: Oftenwrong Soong <oftenwrongsoong_at_yahoo.com>
Date: Mon, 17 Jan 2011 15:13:40 -0800 (PST)

On Mon, January 17, 2011 1:34:24 PM, Ryan
Schmidt <subversion-2011a_at_ryandesign.com> wrote:
> ".in" is not anything to do with python specifically; it means that
> it is a template file, and that a process (typically a Makefile or
> a configure script) will replace some placeholders in that template
> with actual values in order to transform it into a real usable
> program.
>
> In the case of hot-backup.py.in, the only placeholder seems to be
> "@SVN_BINDIR@" which occurs twice near the top of the script. If
> you like, you can bypass the usual process and replace the
> placeholders with the correct values manually.

Thank you for this explanation. It cleared up a bit on confusion on my part. I
copied the file, removed the ".in" from the filename, replaced the two
@SVN_BINDIR@ references with the absolute path, and it appears to do what it's
supposed to.

Meanwhile, I found a nice HOWTO for setting up cron to run this script:
http://www.question-defense.com/2009/12/20/backing-up-subversion-repositories-using-hot-backup-py

      
Received on 2011-01-18 00:14:20 CET

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.