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

Re: SubWCRev - enhancement proposal

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 31 Oct 2009 19:16:28 +0100

Jens Geyer wrote:
> Hi there,
> I'm right now playing around with the SubWBRev tool and fould it very
> useful. Nice work!
> While doing that, I wonder if it would be a good idea to allow replacing
> template keys with values from environment variables through
> SubWBRev.exe?
> The reason is, that I would like to have the WC revisions and the
> current date+time (which SubWBRev does) and the name of the build
> project, which is given as environment variable on the build server. And
> instead of writing another tool that processes the output of SubWBRev
> any further, it would be nice if all these replacements could be done
> with the same tool.
> What do you think?
> Or do I just overlook something?

Well, that could be done without too much work. But I don't like the
idea - it would be something that SubWCRev isn't really designed to do,
it's not its intended purpose.

In our very own build (TortoiseSVN) we need to do some string replacing
in certain files to make the build work (some libraries otherwise fail
to build properly because they're not aware that we're past the year
2000 and VC6 isn't in use anymore). But we don't use SubWCRev for this
but use the NAnt script to do it. I think that's the better way to do
it: use the right tool for the right job.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-10-31 19:16:40 CET

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