Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2013 17:00:04 -0700
From:      Jeremy Chadwick <jdc@koitsu.org>
To:        Scott Reber <sr1244@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: svn revision stable/9
Message-ID:  <20130423000004.GA17734@icarus.home.lan>
In-Reply-To: <000901ce3fb3$31732a50$94597ef0$@gmail.com>
References:  <000901ce3fb3$31732a50$94597ef0$@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 22, 2013 at 07:43:27PM -0400, Scott Reber wrote:
> I'm using svnup to checkout stable/9 sources.  How do I determine the svn
> revision of those sources?  I know that Head has included this in "uname
> -a", but I do not see this with stable/9 as of today.

stable/9 does include rXXXXXX version in uname -a:

$ uname -a
FreeBSD icarus.home.lan 9.1-STABLE FreeBSD 9.1-STABLE #0 r249715: Sun Apr 21 22:34:37 PDT 2013     root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_9_amd64  amd64

I'm not sure where this comes from during buildkernel, however.  "svn
info" is the way I know of to get that value, but I don't know where in
the build framework it obtains this number.

The reason I mention that: possibly the build framework uses the "svn"
command to get the information, and since "svnup" is not "svn", it can't
get it, thus there's nothing to print.

-- 
| Jeremy Chadwick                                   jdc@koitsu.org |
| UNIX Systems Administrator                http://jdc.koitsu.org/ |
| Mountain View, CA, US                                            |
| Making life hard for others since 1977.             PGP 4BD6C0CB |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130423000004.GA17734>