Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2013 06:24:12 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        John Mehr <jcm@visi.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: svn revision stable/9
Message-ID:  <20130423132412.GX1405@albert.catwhisker.org>
In-Reply-To: <web-12881663@mailback4.g2host.com>
References:  <000901ce3fb3$31732a50$94597ef0$@gmail.com> <20130423000004.GA17734@icarus.home.lan> <20130423000602.GB1606@glenbarber.us> <20130423003810.GA18488@icarus.home.lan> <web-12881663@mailback4.g2host.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--doUn1Hmx68n+7ij2
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 23, 2013 at 07:42:05AM -0500, John Mehr wrote:
> ...
> Because the current, stable and releng branches all use=20
> /usr/src by default, implementing a custom svnversion to=20
> inform newvers.sh of which revision exists in /usr/src=20
> would be problematic without leaving a small bread crumb=20
> there for newvers.sh to use.=A0 If this is ok to do, I can=20
> include this in the next revision (which should be ready=20
> to go in the next couple of days).
> ...

Please note that what svnversion reports is the last revision number of
the *repository* as of the most recent update of the working copy in
question -- not (necessarily) the last revision that actually applied to
that working copy.

To illustrate:

g1-227(9.1-S)[1] cd /usr/src
g1-227(9.1-S)[2] svnversion=20
249793M
g1-227(9.1-S)[3] svn info
Path: .
Working Copy Root Path: /usr/src
URL: file:///svn/freebsd/src/base/stable/9
Repository Root: file:///svn/freebsd/src/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 249793
Node Kind: directory
Schedule: normal
Last Changed Author: mckusick
Last Changed Rev: 249788
Last Changed Date: 2013-04-22 23:28:49 -0700 (Mon, 22 Apr 2013)

g1-227(9.1-S)[4] uname -v
FreeBSD 9.1-STABLE #434  r249788M/249793:901504: Tue Apr 23 04:48:16 PDT 20=
13     root@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY=20
g1-227(9.1-S)[5]=20

(Note the "M" suffix, indicating that I've modified the sources.
That is because I modified newvers.sh to provide the string
"r249788M/249793:901504" instead of what the "stock" newvers.sh
would provide, which would have been "r249793M".)

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--doUn1Hmx68n+7ij2
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlF2i3sACgkQmprOCmdXAD0tBQCfZ+GJV5s2cslYJmL5zWVeWNcj
xRwAnjY7600Iw6Ix8q1ISVibnn0NF7Zy
=O3vz
-----END PGP SIGNATURE-----

--doUn1Hmx68n+7ij2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130423132412.GX1405>