From owner-freebsd-stable@FreeBSD.ORG Tue Apr 23 14:08:31 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0DD0FF0F for ; Tue, 23 Apr 2013 14:08:31 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by mx1.freebsd.org (Postfix) with ESMTP id DB6C61560 for ; Tue, 23 Apr 2013 14:08:30 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id 4so461243pdd.31 for ; Tue, 23 Apr 2013 07:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=2F/QMuWLykOsKCEq7tDHJYmyFEyVvUhthhrKuBAGV0U=; b=AsbImIvfjmLMKyL5PDfmcz48yExKLXpct/pOnmvGYbkfY9mfIsiJOGVDYkFIKrQ3He ZIbJ3rFL/WOthIKfoqpDdJEcCO7MR0v+OMSQHYT8zLhQ+Mzpunt2zP2xc6NsTsobjaJp 4yztWi6eXs3AAm/2SewT38YmSQC6sJ69LStLs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=2F/QMuWLykOsKCEq7tDHJYmyFEyVvUhthhrKuBAGV0U=; b=Y5/q9q7Ih6wZzMHeSmHar+HggZQ7v722M943APi4repT9fuyB76Tbu9uXMThlOVnYi GCxx7GddtdojQD0uem7WRkH3eBl6xyYrBIehJo8fr175usEmIT9A7g2sCP/jERH6dwZf +GMOORvg+dKAGG0bg1Pe52lMvKlVJZ9kcwIT0Xr+toBW79vaHKS+MLIAipRpA+QdnHv+ lqzqfPltZitJ6imb+s38f3HpYS0OjDfw3L+C2hnjn6j++uY8btkYZnjzQrQ+y8m/g/oR VYd9ysJP9akKo4gqQtAYBGjsSSgaIjqv7NbDTnjN5K6o9MN7yXYOIiwDJ8ZUKn4cxx9F rykw== X-Received: by 10.68.211.161 with SMTP id nd1mr41305179pbc.59.1366726110336; Tue, 23 Apr 2013 07:08:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.159.97 with HTTP; Tue, 23 Apr 2013 07:07:59 -0700 (PDT) In-Reply-To: References: <000901ce3fb3$31732a50$94597ef0$@gmail.com> <20130423000004.GA17734@icarus.home.lan> <20130423000602.GB1606@glenbarber.us> <20130423003810.GA18488@icarus.home.lan> From: Eitan Adler Date: Tue, 23 Apr 2013 10:07:59 -0400 Message-ID: Subject: Re: svn revision stable/9 To: Kimmo Paasiala Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnJfNOdMYj3MWAV07G/j3ty2D/A52odbWn9Yzjxi8JvKmIAfEyC47HWfMSzSvc4PTDf1Tgq Cc: freebsd-stable@freebsd.org, John Mehr X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2013 14:08:31 -0000 On 23 April 2013 09:38, Kimmo Paasiala wrote: > On Tue, Apr 23, 2013 at 3:42 PM, John Mehr wrote: >> >> >> Hello, >> >> svnup stores "known file" information in /tmp/svnup for each of the defined >> sections (current, stable, ports, etc.) and in the next update, it will be >> including the revision number in these files so that something like: >> >> # svnup stable -n >> >> would return the stable branch's last downloaded revision number and then >> exit. >> >> Because the current, stable and releng branches all use /usr/src by default, >> implementing a custom svnversion to inform newvers.sh of which revision >> exists in /usr/src would be problematic without leaving a small bread crumb >> there for newvers.sh to use. If this is ok to do, I can include this in the >> next revision (which should be ready to go in the next couple of days). >> > > Wouldn't /var/db/svnup be the proper place for the "bread crumb"? There may be multiple source trees. newvers.sh looks at the current source tree to determine which version to use. -- Eitan Adler