"Jostein Chr. Andersen" <jostein@josander.net> writes:
> > The only other thing we need to ensure is that the client itself
> > prints out a distinguishing version:
> >
> > $ svn --version
> > svn, version 1.0.0 (beta1)
> > [...]
> > $
> ...
Okay, Jostein, I did a little testing here to make sure this would all
work. It turned out to be pretty easy.
First I changed 1.0.x/subversion/include/svn_version.h -- see patch
below (and notice it doesn't touch SVN_VER_MICRO, by the way).
Because dist.sh builds from an exported tree, I had to add a tweak to
dist.sh to apply the svn_version.h patch to the exported tree before
building. You won't need this dist.sh tweak, of course, since the
patch below will be committed to the 1.0.x branch by the time you're
rolling a prerelease.
Next I ran
$ ./dist.sh -v 1.0.0-beta1 -r HEAD -pr branches/1.0.x
It gave me the two expected tarballs:
subversion-1.0.0-beta1.tar.gz
subversion-1.0.0-beta1.tar.bz2
Then:
$ tar zxvf subversion-1.0.0-beta1.tar.gz
$ cd subversion-1.0.0-beta1
$ ./configure
[...]
$ make
[...]
$ subversion/clients/cmdline/svn --version
svn, version 1.0.0 (beta1)
compiled Feb 17 2004, 13:58:18
[...]
$
Looks good!
Here's the mod I made to svn_version.h:
Index: subversion/include/svn_version.h
===================================================================
--- subversion/include/svn_version.h (revision 8674)
+++ subversion/include/svn_version.h (working copy)
@@ -48,14 +48,14 @@
*
* Modify when incompatible changes are made to published interfaces.
*/
-#define SVN_VER_MAJOR 0
+#define SVN_VER_MAJOR 1
/** Minor version number.
*
* Modify when new functionality is added or new interfaces are
* defined, but all changes are backward compatible.
*/
-#define SVN_VER_MINOR 37
+#define SVN_VER_MINOR 0
/** Patch number.
*
@@ -80,7 +80,7 @@
* During the distribution process, we automatically replace this text
* with something like "r1504".
*/
-#define SVN_VER_TAG "dev build"
+#define SVN_VER_TAG "beta1"
/** Number tag: a string indicating whether this is a released version.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 18 02:17:06 2004