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

Re: C# AssemblyInfo integration

From: Yves Goergen <nospam.list_at_unclassified.de>
Date: Fri, 28 Aug 2009 18:45:26 +0200

On 28.08.2009 08:11 CE(S)T, Yves Goergen wrote:
> No, the "$Revision$" is of course not in effective source code as it
> would be totally in the way there. It's just in a // comment line so the
> compiler won't ever see that information. My script just tries to grab
> it from that line and copy the bare number into the active code line so
> that it can compile. The repository always has the version number
> "x.x.x.0" in that place, so if you won't use the script, you just won't
> have the revision number in the code, that's all.

Hm, as I had to find out today, it doesn't quite work. The file
AssemblyInfo.cs is actually never changed an so the keyword substitution
is never updated. So it is stuck on some revision from the past.

Is that by intent that keywords are not updated if the file didn't
change? How is something like $Revision$ meant to be useful if it
doesn't reflect the revision?!

-- 
Yves Goergen "LonelyPixel" <nospam.list_at_unclassified.de>
Visit my web laboratory at http://beta.unclassified.de
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2388329
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-28 18:46:36 CEST

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

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