Skip to content

Commit

Permalink
Merge pull request #129 from tomjenkinson/JBTM-1298-master
Browse files Browse the repository at this point in the history
JBTM-1281 rebase wizardry
  • Loading branch information
tomjenkinson committed Oct 24, 2012
2 parents e08c0ec + 95c8333 commit a5fa9b1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/hudson/narayana.sh
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ function build_as {
fi fi


git pull --rebase --ff-only upstream master git pull --rebase --ff-only upstream master
while [ $? != 0 ]
do
for i in `git status -s | sed "s/UU \(.*\)/\1/g"`
do
awk '/^<+ HEAD$/,/^=+$/{next} /^>+ /{next} 1' $i > $i.bak; mv $i.bak $i; git add $i
done
git rebase --continue
done
[ $? = 0 ] || fatal "git rebase failed" [ $? = 0 ] || fatal "git rebase failed"


export MAVEN_OPTS="$MAVEN_OPTS -XX:MaxPermSize=512m" export MAVEN_OPTS="$MAVEN_OPTS -XX:MaxPermSize=512m"
Expand Down

0 comments on commit a5fa9b1

Please sign in to comment.