From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mail.openembedded.org (Postfix) with ESMTP id 08449605D2 for ; Thu, 23 Apr 2015 18:17:40 +0000 (UTC) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 23 Apr 2015 11:17:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,633,1422950400"; d="scan'208";a="484800010" Received: from mlopezva-mobl2.zpn.intel.com (HELO [10.219.18.203]) ([10.219.18.203]) by FMSMGA003.fm.intel.com with ESMTP; 23 Apr 2015 11:17:41 -0700 Message-ID: <55393749.4050002@linux.intel.com> Date: Thu, 23 Apr 2015 13:17:45 -0500 From: Mariano Lopez User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: bitbake-devel@lists.openembedded.org Subject: [PATCH] bitbake: fetch2/git: Add URL when latest_revision generates an exception. X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussion that advance bitbake development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 18:17:43 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit The URL is not sent when _latest_revision generates and exception. When performing the sanity checks it is not possible to know the URI that failed. This add the URL when latest_revision generates an exception. [YOCTO: #7592] Signed-off-by: mlopezva --- bitbake/lib/bb/fetch2/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 0fd9bee..0d91431 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py @@ -352,7 +352,7 @@ class Git(FetchMethod): for l in output.split('\n'): if s in l: return l.split()[0] - raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output" % ud.unresolvedrev[name]) + raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % (ud.unresolvedrev[name], ud.host+ud.path)) def latest_versionstring(self, ud, d): """ -- 1.8.4.5