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

Re: SubWCRev and properties

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-08-04 12:56:35 CEST

On 03/08/2007, Hugh Robinson <robinson.nospam@gmail.com> wrote:
> First let me explain what I want to do...
>
> I have my software build number, e.g. 1.0.2, to be inside the text of
> some file before it is compiled. This is useful if you have an RC
> resource file for example when compiling on Windows - or an
> AssemblyInfo file when compiling code for .NET.
>
> What I thought was - wouldn't it be a good idea to have this build
> number stored in a property in my SVN repository as a property. That
> way, if I ever checkout a copy of the code from some old revision
> number, the property storing the build number would be the correct
> "old" build number in that working copy. That, I think, is a desirable
> thing.

How is a property any better than storing it in a versioned file? If
you checkout an old version, the version number file will also show
the old version just as well as a property would.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat Aug 4 12:55:02 2007

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.