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

Re: keyword substitution

From: Marcus Rueckert <darix_at_web.de>
Date: 2006-09-01 12:05:44 CEST

On 2006-08-28 18:25:27 +0200, Timm Drevensek wrote:
> I'm on the search for a way to make a substitution inside a c++ header file
> like the existing svn:keywords ($Date$/$Author$/$Revision$/etc) way with the
> features:
> - The Username of the guy who checked out the files

add -DUSER="\"%USER\"" to the build commandline.

> - The Global Revision of the checkout (like Revision but a global
> one)

http://subversion.tigris.org/faq.html#version-value-in-source

> Or is there another way beside the svn:keyword syntax to do this?

see above.

    darix

-- 
           openSUSE - SUSE Linux is my linux
               openSUSE is good for you
                   www.opensuse.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 1 12:06:13 2006

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