llvm.org GIT mirror llvm / d703145
Make it easier to process merges in a normal buildable directory tree by allowing the user to specify the base directory of the checkout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271192 91177308-0d34-0410-b5e6-96231b3b80d8 Joerg Sonnenberger 4 years ago
1 changed file(s) with 9 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3434 shift
3535 proj=$1
3636 ;;
37 --srcdir | -srcdir | -s)
38 shift
39 srcdir=$1
40 ;;
3741 -h | -help | --help )
3842 usage
3943 ;;
4953 esac
5054 shift
5155 done
56
57 if [ -z "$srcdir" ]; then
58 srcdir="$proj.src"
59 fi
5260
5361 if [ "x$rev" = "x" -o "x$proj" = "x" ]; then
5462 echo "error: need to specify project and revision"
7179 fi
7280 svn log -c $rev http://llvm.org/svn/llvm-project/$proj/trunk >> $tempfile 2>&1
7381
74 cd $proj.src
82 cd "$srcdir"
7583 echo "# Updating tree"
7684 svn up
7785