git svn --version doesn't work when called outside a git checkout.

TEST=none
BUG=none
TBR=nasser

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35800 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
maruel@chromium.org
2010-01-08 18:06:50 +00:00
parent 40f35c3268
commit 8dd7cc5c2e

View File

@@ -42,7 +42,8 @@ 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
test_git_svn
# Skip this call since it fails outside a git checkout.
#test_git_svn
(cd "$base_dir"; git svn rebase -q -q)
fi