From owner-freebsd-current@FreeBSD.ORG Sat Oct 22 15:39:05 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4878F106564A for ; Sat, 22 Oct 2011 15:39:05 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id DF85A8FC0C for ; Sat, 22 Oct 2011 15:39:04 +0000 (UTC) Received: by qadz32 with SMTP id z32so2526806qad.13 for ; Sat, 22 Oct 2011 08:39:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.175.197 with SMTP id bb5mr14826936qab.60.1319297943896; Sat, 22 Oct 2011 08:39:03 -0700 (PDT) Received: by 10.224.60.206 with HTTP; Sat, 22 Oct 2011 08:39:03 -0700 (PDT) In-Reply-To: References: <20111020114844.GK59810@albert.catwhisker.org> <20111020122121.GL59810@albert.catwhisker.org> <201110211636.05917.jhb@freebsd.org> <20111021211221.GV59810@albert.catwhisker.org> <4EA21842.5000808@FreeBSD.org> Date: Sat, 22 Oct 2011 17:39:03 +0200 Message-ID: From: Olivier Smedts To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Craig Rodrigues , Doug Barton , freebsd-current@freebsd.org Subject: Re: sys/conf/newvers.sh vs. subversion-1.7 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2011 15:39:05 -0000 2011/10/22 Garrett Cooper : > > $(svn info | awk '/^Revision:/ {print $2}') > > is what I use in my installkernel wrapper script. Granted, I didn't know > about svnversion some time later, but it appears that svnversion broke so= me > things by consolidating the .svn directories as Chris shows above with th= e > 'exported' line. Won't work for localized builds : $ echo $LANG fr_FR.ISO8859-15 $ pwd /usr/src $ $(svn info | awk '/^Revision:/ {print $2}') $ svn info Chemin=A0: . Chemin racine de la copie de travail : /usr/src URL=A0: http://svn.freebsd.org/base/stable/9 Racine du d=E9p=F4t=A0: http://svn.freebsd.org/base UUID du d=E9p=F4t=A0: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f R=E9vision=A0: 226629 [...] --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas."