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

AW: Using more than one revsion or tsvn:userfileproperties

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Mon, 2 Apr 2012 09:46:35 +0000

Hi, Tobias,

Von: Tobias Totz [mailto:pass8_at_freenet.de]
> the svn:keywords I know about. But there is only one revision flag to set.
> Now my question: Is it possible to make user defined keywords to replace
> placeholders in text files before commiting?
> For example we have a text file which includes the following lines:
> --- BEGIN ---
> // $Revsion$
> // Board: 1.0_b
> // Circuit: 1.2_g
> --- END ---
> Is there a way to replace the numbers of the "Board" and "Circuit" by a
> flexible text maybe a text from the log message? So that I use a template
> for the log message in which I pass the parameters/numbers for the "Board"
> and "Circuit"?

I guess that this is a case for the build system instead of SVN. Either pass those values as DEFINEs, or generate the file containing that values in the build script.

Best regards

Markus Schaber

We software Automation.
3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50
Email: m.schaber@3s-software.com | Web: http://www.3s-software.com 
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects
Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-04-02 11:46:50 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.