Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2008 15:37:13 +0300
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        Max Laier <max@love2party.net>
Cc:        freebsd-hackers@FreeBSD.ORG, Rui Paulo <rpaulo@freebsd.org>
Subject:   Re: svn rev. number 
Message-ID:  <E1Kl0x7-0008TC-Ti@cs1.cs.huji.ac.il>
In-Reply-To: Your message of Wed, 1 Oct 2008 14:21:13 %2B0200 .

next in thread | raw e-mail | index | archive | help
> 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:..."






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Kl0x7-0008TC-Ti>