[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: Blair Zajac <blair_at_orcaware.com>
Date: Fri, 28 Aug 2009 16:04:28 -0700

Yves Goergen wrote:
> On 28.08.2009 18:48 CE(S)T, Andy Levy wrote:
>> On Fri, Aug 28, 2009 at 12:45, Yves Goergen<nospam.list_at_unclassified.de> wrote:
>>> On 28.08.2009 08:11 CE(S)T, Yves Goergen wrote:
>>> 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?!
>> $Revision$ reflects that last revision in which *that file* changed.
>> It's very useful for keeping track of individual source files.
>
> Damn, so how can I get the latest revision of the project into a
> constant file at all? There's no file that is always changed.
>
> I don't like the idea of running a separate svn client because 1) it
> needs to be installed on every PC and 2) it needs to authenticate
> separately from AnkhSVN, the Visual-Studio-integrated tool.

You can run svnversion across your working copy to get a revision number to use.

http://svnbook.red-bean.com/en/1.5/svn.ref.svnversion.re.html

It uses the revision(s) that are checked out and shows modified and switched flags.

Blair

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2388412

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-29 01:05:32 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.