mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
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
This commit is contained in:
2
gclient
2
gclient
@@ -10,7 +10,7 @@ base_dir=$(dirname "$0")
|
||||
# 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" ]
|
||||
then
|
||||
(cd "$base_dir"; git svn fetch -q; git merge trunk -q)
|
||||
(cd "$base_dir"; git svn rebase -q -q)
|
||||
fi
|
||||
|
||||
if [ "X$DEPOT_TOOLS_UPDATE" != "X0" -a -e "$base_dir/git-cl-repo/.git" ]
|
||||
|
||||
Reference in New Issue
Block a user