From: Ian Jackson Subject: [OSSTEST PATCH 7/8] ap-fetch-version-old: Do not honour OSSTEST_USE_HEAD Date: Wed, 25 Feb 2015 13:01:16 +0000 Message-ID: <1424869277-16764-8-git-send-email-ian.jackson@eu.citrix.com> References: <1424869277-16764-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YQbbW-0004NF-Ei for xen-devel@lists.xenproject.org; Wed, 25 Feb 2015 13:02:18 +0000 In-Reply-To: <1424869277-16764-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org When doing an OSSTEST_USE_HEAD test in infrastructure mode we would like to use the real osstest mainline baseline as a reference for the flight reports. (Rather than simply using the very version under test as the baseline.) So revert cf805fa8 "Allow forcing the use of current osstest HEAD for branch=osstest" as far as it touches ap-fetch-version-old. In standalone mode: tests now set OLD_REVISION=NONE in their calls to cr-daily-branch, so ap-fetch-version-old will not be run, and things will continue to work as before. Signed-off-by: Ian Jackson --- ap-fetch-version-old | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ap-fetch-version-old b/ap-fetch-version-old index 7b7f50e..8ca9468 100755 --- a/ap-fetch-version-old +++ b/ap-fetch-version-old @@ -98,12 +98,8 @@ ovmf) $BASE_TREE_OVMF xen-tested-master $BASE_LOCALREV_OVMF ;; osstest) - if [ "x$OSSTEST_USE_HEAD" != "xy" ] ; then - git fetch -f $HOME/testing.git incoming:ap-fetch - git rev-parse ap-fetch^0 - else - git rev-parse HEAD^0 - fi + git fetch -f $HOME/testing.git incoming:ap-fetch + git rev-parse ap-fetch^0 ;; *) echo >&2 "branch $branch ?" -- 1.7.10.4