From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 3 22:55:32 2012 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3C69106566B for ; Tue, 3 Jan 2012 22:55:32 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) by mx1.freebsd.org (Postfix) with ESMTP id 791438FC18 for ; Tue, 3 Jan 2012 22:55:32 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id A9DFA25D3892; Tue, 3 Jan 2012 22:55:31 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id BF0D3BD86A4; Tue, 3 Jan 2012 22:55:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id NZcmnHgI6lTc; Tue, 3 Jan 2012 22:55:29 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 99A50BD86A3; Tue, 3 Jan 2012 22:55:29 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=utf-8 From: "Bjoern A. Zeeb" X-Priority: 3 (Normal) In-Reply-To: <505953021.20120104004537@yandex.ru> Date: Tue, 3 Jan 2012 22:55:28 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <04F94C22-F784-4827-9424-0DA763E5D72D@lists.zabbadoz.net> References: <201201032230.q03MUCKq095241@freefall.freebsd.org> <505953021.20120104004537@yandex.ru> To: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= X-Mailer: Apple Mail (2.1084) Cc: freebsd-bugs@FreeBSD.org Subject: Re: Re[2]: misc/163804: with uname -a return also date of source tree update X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 22:55:32 -0000 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" > 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!