Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2021 16:52:25 -0400
From:      Janos Dohanics <web@3dresearch.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   /usr/src revision number
Message-ID:  <20210321165225.11fa1f5559373032ea629412@3dresearch.com>

next in thread | raw e-mail | index | archive | help
Hello,

with svn(1) it was easy to compare the revision number of the
updated /usr/src with the installed version of FreeBSD.

For example:

# svn info /usr/src
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/stable/12
Relative URL: ^/stable/12
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 369499
Node Kind: directory
Schedule: normal
Last Changed Author: git2svn
Last Changed Rev: 369499
Last Changed Date: 2021-03-21 11:54:54 -0400 (Sun, 21 Mar 2021)

# uname -v
FreeBSD 12.2-STABLE r368820 TURTLE2021010401 

Now on my laptop I have:

# uname -v
FreeBSD 13.0-RC2 #0 releng/13.0-n244684-13c22f74953

Since I'd like to update to RC3, I did:

'git clone -b stable/13 --depth 1 https://git.freebsd.org/src.git /usr/src'

How can I find what "revision" do I have now in /usr/src and how can I
see if it is an increment compared to the installed kernel/userland?

-- 
Janos Dohanics



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