svn rev. number
Max Laier
max at love2party.net
Wed Oct 1 12:21:16 UTC 2008
On Wednesday 01 October 2008 14:04:20 Danny Braniss wrote:
> Hi,
> Now that freebsd is under svn, I decided to try what I failed
> with cvs, and actually using svn/svk/svnsync I have a mirror and a local
> branch in sync!
> Since the date reported by uname is not that relevant, is it possible to
> add the svn-revision # ala build-...? This could make finding problems
> easier, instead of kernel from 'date' one could say date/revision... just a
> thought.
We are doing that - for quite some time now. (see r179637 & r179655). The
requirements are that:
1) svnversion is executable in /bin, /usr/bin or /usr/local/bin
2) there is a .svn directory in your SRCDIR
If that's the case, newvers.sh will add the output of it to uname:
"FreeBSD fbsd8 8.0-CURRENT FreeBSD 8.0-CURRENT #4 r180876:183019M:..."
--
/"\ Best regards, | mlaier at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
More information about the freebsd-hackers
mailing list