svn revision stable/9

Jeremy Chadwick jdc at
Tue Apr 23 00:00:05 UTC 2013

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 at 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 at |
| UNIX Systems Administrator       |
| Mountain View, CA, US                                            |
| Making life hard for others since 1977.             PGP 4BD6C0CB |

More information about the freebsd-stable mailing list