print DEBUG "GIT-GEN UPCMD\n$upcmd\n";
shellcmd($upcmd) if $doupdate;
my $cmd= "cd $c{Repos}/$treename &&".
- " git-log --pretty=raw --date-order $tree->{Latest}";
+ " git log --pretty=raw --date-order $tree->{Latest}";
print DEBUG "GIT-GEN CMD $cmd\n";
my $fh= new IO::File;
open $fh, "$cmd |" or die $!;
die unless $targetqemu =~ m/^[^-]/;
$!=0; $?=0;
$targetqemu= `cd $c{Repos}/$qemutree &&
- git-rev-parse '$targetqemu^0'`;
+ git rev-parse '$targetqemu^0'`;
die "$! $?" if (!defined $targetqemu) or $?;
chomp $targetqemu;
}
$UPSTREAM_TREE_LINUXFIRMWARE master daily-cron.$branch
;;
osstest)
- git-fetch $HOME/testing.git pretest:ap-fetch >&2
- git-rev-parse ap-fetch^0
+ git fetch $HOME/testing.git pretest:ap-fetch >&2
+ git rev-parse ap-fetch^0
;;
*)
echo >&2 "branch $branch ?"
#linux)
# cd $repos/xen
# git fetch -f $BASE_TREE_LINUX $BASE_TAG_LINUX:$BASE_LOCALREV_LINUX
-# git-rev-parse $BASE_LOCALREV_LINUX^0
+# git rev-parse $BASE_LOCALREV_LINUX^0
# ;;
*)
exec ./ap-fetch-version-old "$@"
$TREE_LINUXFIRMWARE master daily-cron-old.$branch
;;
osstest)
- git-fetch -f $HOME/testing.git incoming:ap-fetch
- git-rev-parse ap-fetch^0
+ git fetch -f $HOME/testing.git incoming:ap-fetch
+ git rev-parse ap-fetch^0
;;
*)
echo >&2 "branch $branch ?"
exec >>$LOGFILE
date
printf "%s\n" "$FOR_LOGFILE"
- git-pull . incoming:master 2>&1 ||:
- git-checkout HEAD
+ git pull . incoming:master 2>&1 ||:
+ git checkout HEAD
'
export OSSTEST_TEST_PULLFROM=`pwd`
log ...
- git-fetch $OSSTEST_TEST_PULLFROM master:incoming 2>&1 ||:
- git-fetch $OSSTEST_TEST_PULLFROM incoming:incoming 2>&1 ||:
- git-pull --no-commit . incoming:master 2>&1 ||:
- git-checkout HEAD
+ git fetch $OSSTEST_TEST_PULLFROM master:incoming 2>&1 ||:
+ git fetch $OSSTEST_TEST_PULLFROM incoming:incoming 2>&1 ||:
+ git pull --no-commit . incoming:master 2>&1 ||:
+ git checkout HEAD
set +e
"$@" 2>&1
my $githost= $c{HarnessPublishGitUserHost};
my $gitdir= $c{HarnessPublishGitRepoDir};
- system_checked("git-push $githost:$gitdir HEAD:flight-$flight");
+ system_checked("git push $githost:$gitdir HEAD:flight-$flight");
system_checked("ssh $githost 'cd $gitdir && git update-server-info'");
}
fi
cd $repos/$treename
git fetch -f $realurl $remotetag:$localtag >&2
- git-rev-parse $localtag^0
+ git rev-parse $localtag^0
}
select_xenbranch () {
set +e
tty=`exec 2>/dev/null; tty`
-branch=`exec 2>/dev/null; git-branch | sed -n 's/^\* //p'`
+branch=`exec 2>/dev/null; git branch | sed -n 's/^\* //p'`
set -e
export OSSTEST_RESOURCE_PRIORITY=${OSSTEST_RESOURCE_PRIORITY--8}
$OSSTEST_RESOURCE_PREINFO
END
-git-log -n1 --pretty=format:'harness %h: %s' | perl -pe 's/(.{70}).+/$1.../'
+git log -n1 --pretty=format:'harness %h: %s' | perl -pe 's/(.{70}).+/$1.../'
echo
cat <tmp/$flight.report