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     
r...@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                                   j...@koitsu.org |
| UNIX Systems Administrator                http://jdc.koitsu.org/ |
| Mountain View, CA, US                                            |
| Making life hard for others since 1977.             PGP 4BD6C0CB |
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to