[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 15:40:18 +0000

Hi, Tobias,

(Please quote some context, so the people reading that mail know what you're replying to.)
[restored context]
>>> 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.
[end of restored context]

Von: Tobias Totz [mailto:pass8_at_freenet.de]
> this ist not possible, because the files are no sourcecode files. That's
> why I'am write "text" files in my previous post. Better the files are XML-
> Files, but this makes no diffenent didn't it.

Yes, it makes no difference: XML files are as generateable by the build script as other text files.

Simply check file.xml.template into SVN, and then generate your file.xml file in the build process.

This is a common pattern, even for things like Revision, and the "svnversion" and "subwcrev" tools are explicitly provided for that purpose.

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 17:40:32 CEST

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

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