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

Re: [TSVN] SubWCRev.exe question

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-08-02 09:29:52 CEST

Nick Gilbert wrote:
> I'm now using SubWCRev.exe as part of my build process but I'm confused
> about the version number it's inserting.
>
> My working copy is at revision 116, but SubWCRev is putting 115 in as
> the version and it's output is as follows:
>
> Last committed at revision 15
> Updated to revision 16
>
> Why does it not put revision 16 as the version number?

Start SubWCRev.exe with no parameters to see the help text.
$WCREV$ gets replaced with the last committed revision. 15.
$WCRANGE$ gets replaced with the update revision range. 16.

Normally it's the commit rev you are interested in for a build version.
If you have another project B in the same repository and you commit to
that too, you don't want project A' build number to keep incrementing as
project B is worked on.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Aug 2 09:29:24 2005

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