Re: Getting the high revision number
From: John Calcote <jcalcote_at_novell.com>
Date: 2006-08-01 22:12:06 CEST
Robert,
I stated in a reply to Andrew that I had lied to you all. Sorry 'bout
Given this new information, do you see anything wrong with what I'm
Thanks again,
>>> Robert Wenner <robert.wenner@atsec.com> 8/1/2006 1:15 PM >>>
Why random?
what he needs.
> First, get the HEAD revision number of the project root using
Why not use svnversion, maybe in combination with a regex to just get
> 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
job.
> 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
foo product because you will always know the root of the foo project.
One could include tags or branch names, though, even if only for
> 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.