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