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

Unified Diff: tests/test-lib.sh

Issue 61893006: Fix upstream.sh presubmit test for git 1.8.3+ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 7 years, 1 month 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 | tests/upstream.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/test-lib.sh
diff --git a/tests/test-lib.sh b/tests/test-lib.sh
index ad078180437b8b16700bd79fb66abab331ebc412..92ec3bbdd4c1457564d83c00d720b3743fc9ea94 100755
--- a/tests/test-lib.sh
+++ b/tests/test-lib.sh
@@ -49,9 +49,10 @@ setup_gitsvn() {
rm -rf git-svn
# There appears to be no way to make git-svn completely shut up, so we
# redirect its output.
- git svn -q clone -s $REPO_URL git-svn >/dev/null 2>&1
+ git svn --prefix origin/ -q clone -s $REPO_URL git-svn >/dev/null 2>&1
(
cd git-svn
+ git remote add origin https://example.com/fake_refspec
git config user.name 'TestDood'
git config user.email 'TestDood@example.com'
)
« no previous file with comments | « no previous file | tests/upstream.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698