Re: Getting the high revision number
From: Robert Wenner <robert.wenner_at_atsec.com>
Date: 2006-08-01 21:15:22 CEST
On Tuesday 01 August 2006 13:53, Reedick, Andrew wrote:
Why random?
> First, get the HEAD revision number of the project root using
Why not use svnversion, maybe in combination with a regex to just get one
> You will probably want to make the build area readonly
Most compilers I know of want to create object files....
Also, if the build is automated, there should always be only one build
> The build number should be: url + rev_num. A revision number
Even if you do, the revision number can be fine if you say it's for the
One could include tags or branch names, though, even if only for marketing
> If you are building from a workset, then you can use 'svn info
Which is somewhat unlikely, but that's what svnversion is for.
Cheers,
Robert
---------------------------------------------------------------------
|
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.