From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 1 12:37:15 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D0E51065687 for ; Wed, 1 Oct 2008 12:37:15 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 185B58FC23 for ; Wed, 1 Oct 2008 12:37:14 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1Kl0x7-0008TC-Ti; Wed, 01 Oct 2008 15:37:13 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Max Laier In-reply-to: Your message of Wed, 1 Oct 2008 14:21:13 +0200 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 01 Oct 2008 15:37:13 +0300 From: Danny Braniss Message-ID: Cc: freebsd-hackers@FreeBSD.ORG, Rui Paulo Subject: Re: svn rev. number X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 12:37:15 -0000 > On Wednesday 01 October 2008 14:04:20 Danny Braniss wrote: > > Hi, > > Now that freebsd is under svn, I decided to try what I failed > > with cvs, and actually using svn/svk/svnsync I have a mirror and a local > > branch in sync! > > Since the date reported by uname is not that relevant, is it possible to > > add the svn-revision # ala build-...? This could make finding problems > > easier, instead of kernel from 'date' one could say date/revision... just a > > thought. > > We are doing that - for quite some time now. (see r179637 & r179655). The > requirements are that: > great! > 1) svnversion is executable in /bin, /usr/bin or /usr/local/bin > 2) there is a .svn directory in your SRCDIR > small catch, i'm using svk, but i guess I'll look into current's newvers.sh. and running -stable. > If that's the case, newvers.sh will add the output of it to uname: > > "FreeBSD fbsd8 8.0-CURRENT FreeBSD 8.0-CURRENT #4 r180876:183019M:..."