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

Re: Safety first: previewing with a 1.0.0-beta1

From: <kfogel_at_collab.net>
Date: 2004-02-19 20:45:33 CET

Branko Čibej <brane@xbc.nu> writes:
> SVN_VER_TAG is the right place to do this. The _MAJOR, _MINOR and _MICRO
> constants must be numbers. There's also SVN_VER_NUMTAG that helps
> generate the version number without spaces (used by mod_dav_svn and
> displayed by "svn --version --quiet").
>
> Here's the patch you want:

Brane, did you not see the patch I posted earlier?

I don't want to confuse poor Jostein, and I tested that mine would
work for 1.0.0 (i.e., built/installed a tarball, ran 'svn --version',
etc). Has your patch below been tested?

Note that what we do now for 1.0.0 does not necessarily have to be the
same as what we do on trunk for 1.1.x, nor even for >=1.0.1. But

(Also, r8731 worries me that we're on *very* different pages regarding
release numbering...)

-Karl

> Index: svn_version.h
> ===================================================================
> --- svn_version.h (revision 8550)
> +++ 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 "Beta 1"
>
>
> /** Number tag: a string indicating whether this is a released version.
> @@ -92,7 +92,7 @@
> * During the distribution process, we automatically replace this text
> * with "" to indicate a baselined version.
> */
> -#define SVN_VER_NUMTAG "+"
> +#define SVN_VER_NUMTAG "-beta1"
>
>
> /** Revision number: The repository revision number of this release.
>
> Compilation finished at Thu Feb 19 18:22:28
>
>
>
> The problem is that SVN_VER_TAG always gets substituted into the
> SVN_VERSION string, which is unfortunate because we don't want an empty
> set of parentheses in the released "svn --version" output. I'll get a
> patch to fix this into the repo tonight.
>
>
> --
> Brane Čibej <brane_at_xbc.nu> http://www.xbc.nu/brane/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 19 21:48:23 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.