On 3. Jan 2012, at 22:45 , Коньков Евгений wrote: > Здравствуйте, Bjoern. > > Вы писали 4 января 2012 г., 0:30:12: > > BAZ> The following reply was made to PR misc/163804; it has been noted by > GNATS. > > BAZ> From: "Bjoern A. Zeeb" <[email protected]> > BAZ> To: [email protected], [email protected] > BAZ> Cc: > 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) > > BAZ> If you build form SVN and have SVn installed it includes the exact > BAZ> revision. > BAZ> > BAZ> ... FreeBSD 10.0-CURRENT #0 r228926: Wed Dec 28 11:53:19 UTC 2011 ... > > 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 -- Bjoern A. Zeeb You have to have visions! It does not matter how good you are. It matters what good you do! _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
