[oe-commits] Leon Woestenberg : contrib/mtn-bisect.sh: Removed, we moved to git which has bisect itself.

GIT User account git at amethyst.openembedded.net
Fri Apr 24 19:38:18 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 77ac27793af7350b137ca3472b3907ef1c58323b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=77ac27793af7350b137ca3472b3907ef1c58323b

Author: Leon Woestenberg <leon at sidebranch.com>
Date:   Fri Apr 24 21:33:06 2009 +0200

contrib/mtn-bisect.sh: Removed, we moved to git which has bisect itself.

---

 contrib/mtn-bisect.sh |   26 --------------------------
 1 files changed, 0 insertions(+), 26 deletions(-)

diff --git a/contrib/mtn-bisect.sh b/contrib/mtn-bisect.sh
deleted file mode 100755
index e1c970d..0000000
--- a/contrib/mtn-bisect.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-# the revision that we noticed does not longer build
-LATEST_BAD_REV=$1
-
-# an older revision that is known to build
-LAST_KNOWN_GOOD_REV=$2
-
-# count the number of commits 
-COUNT=`mtn log --brief --no-merges --no-graph --to p:$LAST_KNOWN_GOOD_REV --from $LATEST_BAD_REV | tee /tmp/candidates.txt | wc -l`
-
-echo $COUNT commits
-
-# if COUNT == 1 stop
-
-# make binary sections
-COUNT=$(($(($COUNT + 1)) / 2))
-
-CANDIDATE_REV=`cat /tmp/candidates.txt | head -n $COUNT | tail -n 1 | sed -e 's@\([a-f0-9]*\) .*@\1@'`
-
-echo $CANDIDATE_REV
-
-echo mtn up -r $CANDIDATE_REV
-mtn up -r $CANDIDATE_REV
-
-





More information about the Openembedded-commits mailing list