From owner-svn-src-all@freebsd.org Fri Dec 23 16:36:21 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7BABC8E1AA; Fri, 23 Dec 2016 16:36:21 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x243.google.com (mail-io0-x243.google.com [IPv6:2607:f8b0:4001:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B228115FF; Fri, 23 Dec 2016 16:36:21 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io0-x243.google.com with SMTP id m204so230825ioe.3; Fri, 23 Dec 2016 08:36:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=XHcyEuRONp66DoHE9PYDy903k8sHrcJV3Rf6q3HxOVU=; b=H8U2m066fHVN74g1ifHcUo1NXQmT8qRllG+AbgGZPO0xTSvvKj7dviY9w8vU81G6p2 ZxVz3fSddE0UscINSYTLvn1daov0ZS9u0NR9LX6ZtHAJXZWmSbCwqikNdEACwgQvlkT9 heqFNUGul2n79VRyNeXu1xbh53c2hpQdaJ/qFg6wtfrAeVLpWzSEJ2dJOMrugSULyerD d9uMEsNYI/lmT+WQWASTWogAKICT4Wx9dwYmqaOHxE8C88oG22bkKkB4esqZ7xP1HuxF LDkKhr9PtqxmAMd76bAnTTP8Sg7Gvc/sEKnLgwBZ04U9fYYhDE++39DQ6PJRfN9gb8SV GGDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=XHcyEuRONp66DoHE9PYDy903k8sHrcJV3Rf6q3HxOVU=; b=ljH02udzqJzNtiGGYHjZuza96fRm0mAN1oCXjlgPjpBS3chJp4nHSizXHTjCkgFlWz q1v8V+AkFYj9HwPO3vetBNSR0YFkp+Geyc7MLMNyfW93pQWvfKLyQgOriqJQlY3B78cP Wx4/Nx7Mt5AIN70bbMbxa3ei6AL5+s5EydSrKUNIUW5gfg2DI19oCcB1xgyc9BG2fH00 5Koes55PQ6YiECoqsqpDCgKhId5m4jh+jJYuql7AoPlV3b3qGXMjjnP1BqKPUMMo23Zw frF5Ysp7NpZWv2Ru7H4f0XrKAeEJBenRiNds5lefmlMtvd93rtdaNrBVV1MqofR12Q8c C6Vg== X-Gm-Message-State: AIkVDXLyA5pNMiX4EF3e0wMolcrp8zEqAUCkjYxQkMoKG1/RQphFnUBC30D57eyDwlABDVl+QQbHBguy5kkb7g== X-Received: by 10.107.18.193 with SMTP id 62mr16542832ios.155.1482510979958; Fri, 23 Dec 2016 08:36:19 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.175.133 with HTTP; Fri, 23 Dec 2016 08:35:59 -0800 (PST) In-Reply-To: <201611180013.uAI0DU57087971@repo.freebsd.org> References: <201611180013.uAI0DU57087971@repo.freebsd.org> From: Ed Maste Date: Fri, 23 Dec 2016 11:35:59 -0500 X-Google-Sender-Auth: tdAKy7v4-50_ky7NfMAI8zaVZvA Message-ID: Subject: Re: svn commit: r308789 - head/sys/conf To: Gleb Smirnoff Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 16:36:22 -0000 On 17 November 2016 at 19:13, Gleb Smirnoff wrote: > Author: glebius > Date: Fri Nov 18 00:13:30 2016 > New Revision: 308789 > URL: https://svnweb.freebsd.org/changeset/base/308789 > > Log: > If FreeBSD source tree is a subproject of a bigger project, then .git or > .hg may reside above FreeBSD sources root. Provide function findvcs() > that will climb up and seek for presence of a VCS directory. This can incorrectly find an unrelated .git directory and provide a git revision unrelated to the FreeBSD source being built. For example, a build from my Subversion tree now reports "FreeBSD 12.0-CURRENT #2 ad3f46a(master)" instead of "FreeBSD 12.0-CURRENT #5 r310482M". Can you explain your use case in a little more detail so that I can avoid breaking it with a change here? Do you commit FreeBSD snapshots into the "bigger project"?