projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[Orc][Kaleidoscope] Fix the orc/kaleidoscope tutorials on linux.
[oota-llvm.git]
/
utils
/
git-svn
/
git-svnup
1
#!/bin/bash
2
3
if [ -n "`git status -uno -s --porcelain`" ]; then
4
echo "You have unstashed changes. Can not update repository..."
5
git status -uno
6
exit 1
7
fi
8
9
git fetch
10
OLD_BRANCH=$(git rev-parse --abbrev-ref HEAD)
11
git checkout master 2> /dev/null
12
git svn rebase -l
13
git checkout $OLD_BRANCH 2> /dev/null
14
15
exit 0