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

Re: cut down revision from Keyword..

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Tue, 26 Jan 2010 11:26:05 +0000

2010/1/26 Jon H <jd_hardcastle_at_yahoo.com>:
> Hi guys,
>
>  I am trying to use the revision ID of the 'head' as part of
>  the version number for our assemble?
>
>  I have seen the $LastChangedRevision$ but that outputs lots
>  of 'fluff'
>
>  $LastChangedRevision: 46891 $
>
>  I want to put this in our common assembly
>
>  [assembly: AssemblyFileVersion("1.0.0.0")]
>
>  maybe like this
>
>  [assembly:
>  AssemblyFileVersion("1.0.0.$LastChangedRevision$")]
>
>  but obviously we dont want all the extract stuff we just
>  need the revison. can this be done with keywords?

Do you want the revision of that one file, or the last committed
revision in the working copy? You can use SubWCRev to do the latter
and it will allow you to output just the revision number.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2442069
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-26 12:27:16 CET

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.