Re: svn revision stable/9
--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--
討論串 (同標題文章)
完整討論串 (本文為第 9 之 9 篇):