Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2012 22:55:28 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= <kes-kes@yandex.ru>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: Re[2]: misc/163804: with uname -a return also date of source tree update
Message-ID:  <04F94C22-F784-4827-9424-0DA763E5D72D@lists.zabbadoz.net>
In-Reply-To: <505953021.20120104004537@yandex.ru>
References:  <201201032230.q03MUCKq095241@freefall.freebsd.org> <505953021.20120104004537@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3. Jan 2012, at 22:45 , =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0=B2 =
=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 wrote:

> =D0=97=D0=B4=D1=80=D0=B0=D0=B2=D1=81=D1=82=D0=B2=D1=83=D0=B9=D1=82=D0=B5=
, Bjoern.
>=20
> =D0=92=D1=8B =D0=BF=D0=B8=D1=81=D0=B0=D0=BB=D0=B8 4 =D1=8F=D0=BD=D0=B2=D0=
=B0=D1=80=D1=8F 2012 =D0=B3., 0:30:12:
>=20
> BAZ> The following reply was made to PR misc/163804; it has been noted =
by GNATS.
>=20
> BAZ> From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
> BAZ> To: bug-followup@FreeBSD.org, kes-kes@yandex.ru
> BAZ> Cc: =20
> BAZ> Subject: Re: misc/163804: with uname -a return also date of =
source tree
> BAZ>  update
> BAZ> Date: Tue, 3 Jan 2012 22:26:33 +0000 (UTC)
>=20
> BAZ>  If you build form SVN and have SVn installed it includes the =
exact
> BAZ>  revision.
> BAZ> =20
> BAZ>  ... FreeBSD 10.0-CURRENT #0 r228926: Wed Dec 28 11:53:19 UTC =
2011  ...
>=20
> I use cvsup. Maybe it may include CVS revision?

CVS has no notion of "the last change" or "an atomic revision" or
"a timestamp of the last change".  You can probably get the latter by
going through the entire tree but that's hugely expensive.

sys/conf/newver.sh has logic for SVN and for people using git locally.
I fear for CVS/csup/cvsup you'll have to live with what's been there
and use out-of-band information remembering when you last cvsupped or
checkout to a date and patch aforementioned script to get that =
information.

/bz

--=20
Bjoern A. Zeeb                                 You have to have visions!
   It does not matter how good you are. It matters what good you do!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04F94C22-F784-4827-9424-0DA763E5D72D>