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

Re: AW: Using more than one revsion or tsvn:userfileproperties

From: Ron Wilson <ronw.mrmx_at_gmail.com>
Date: Mon, 2 Apr 2012 12:22:49 -0400

On Mon, Apr 2, 2012 at 7:06 AM, Tobias Totz <pass8_at_freenet.de> wrote:
> 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.

Most "source code" files are also text files. With the right tools,
any text file can be treated as
the source "code" for something else, including another text file.

Substitution of $Revision$ and other SVN keywords is basically
generating a new text file from
another text file. But since it is built into SVN, you don't see it as
a "build" operation.

The subwcrev tool is a stand alone tool that performs similar
substitutions with out the use of
the $ to bracket the keyword and its value. It is an explicit build
operation that generates a new
text file from another.

I dont think subwcrev will do what you need, but the documentation
should answer that definitively.

There are more flexible tools that perform text substitution. Examples
include sed, awk and TXR.
There are even full programming languages that include sophisticated
text manipulation features, such
as Perl.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2943762

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-04-02 18:22:57 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.