[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: new substitution keyword for global repository revision

From: Christian Schoenebeck <cuse_at_users.sf.net>
Date: Thu, 24 Dec 2009 18:39:17 +0100

On Thursday 24 December 2009 17:00:00 Stefan Sperling wrote:
> What problem do you really want to solve with this?
> Why is svnversion not good enough for your problem?

Since svnversion is a separate application, it has to be embedded in some way,
e.g. into a Makefile and then passed to a local script or something which
performs the actual substitutions. So this implies everybody who works on the
project(s) has to call it more or less explicitly, otherwise the version wont
be substituted. Not all projects (e.g. script based applications) however
require something to be "built" by a Makefile or something equivalent. So often
people won't explicitly call such a script in that case, just to update the
version tag somewhere.

So best way would be to enforce the version substitution by the version
control system.

CU
Christian
Received on 2009-12-24 18:40:03 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.