Re: sys/conf/newvers.sh vs. subversion-1.7

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 24 Oct 2011 07:59:54 -0400
On Saturday, October 22, 2011 12:31:25 pm Luchesar V. ILIEV wrote:
> Speaking of that, and in the context of the recursion that svnversion
> does, something else comes to my mind...
> 
> svnversion is currently executed in ${SRCDIR}/sys, so the revision
> number is relevant only to the kernel sources. But FreeBSD is not just a
> kernel, unlike Linux, so wouldn't it make more sense to actually check
> the revision directly at ${SRCDIR}, thus catching possible different
> revisions in other parts of the base system source tree?

Please no.  That makes svnversion take a _lot_ longer.  We used to do that,
but changed it.  Also, the kernel build does not use any sources outside
of sys/, so for the kernel an svnversion of sys/ is perfectly reasonable.

-- 
John Baldwin
Received on Mon Oct 24 2011 - 10:27:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC