Commit 717e1ce5 authored by maruel@chromium.org's avatar maruel@chromium.org

Use git svn rebase instead of git svn fetch & git svn merge

TEST=none
BUG=none

Review URL: http://codereview.chromium.org/147014

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19277 0039d316-1c4b-4281-b951-d872f2087c98
parent c0b2297c
...@@ -10,7 +10,7 @@ base_dir=$(dirname "$0") ...@@ -10,7 +10,7 @@ base_dir=$(dirname "$0")
# Update git checkouts prior the cygwin check, we don't want to use msysgit. # Update git checkouts prior the cygwin check, we don't want to use msysgit.
if [ "X$DEPOT_TOOLS_UPDATE" != "X0" -a -e "$base_dir/.git" ] if [ "X$DEPOT_TOOLS_UPDATE" != "X0" -a -e "$base_dir/.git" ]
then then
(cd "$base_dir"; git svn fetch -q; git merge trunk -q) (cd "$base_dir"; git svn rebase -q -q)
fi fi
if [ "X$DEPOT_TOOLS_UPDATE" != "X0" -a -e "$base_dir/git-cl-repo/.git" ] if [ "X$DEPOT_TOOLS_UPDATE" != "X0" -a -e "$base_dir/git-cl-repo/.git" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment