Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: gclient

Issue 530001: Change to a git repo before checking git-svn version (Closed)
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient
diff --git a/gclient b/gclient
index 7efc29eba83519dede62d400485133d49f3a49ff..654d2faa50d3f949b370044388ad59dbb78e207f 100755
--- a/gclient
+++ b/gclient
@@ -42,9 +42,10 @@ function test_git_svn {
# 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
- # Skip this call since it fails outside a git checkout.
- #test_git_svn
- (cd "$base_dir"; git svn rebase -q -q)
+ cd $base_dir
+ test_git_svn
+ git svn rebase -q -q
+ cd - > /dev/null
fi
if [ "X$DEPOT_TOOLS_UPDATE" != "X0" -a -e "$base_dir/git-cl-repo/.git" ]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698