[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: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Mon, 17 Jan 2011 15:34:24 -0600

On Jan 17, 2011, at 13:34, Oftenwrong Soong wrote:

> Why is the file called hot-backup.py.in and not simply hot-backup-py? Does the
> ".in" indicate that this is an include file for a larger Python script
> somewhere? (I'm asking because I do not know Python.)

".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.
Received on 2011-01-17 22:35:05 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.