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

Unified Diff: tests/upstream.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 | « tests/test-lib.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/upstream.sh
diff --git a/tests/upstream.sh b/tests/upstream.sh
index 0e2ce80b065fc1acd2a2110ae95b012d3160c6f8..b264b3e9436fa82227aa96c246f9396479905202 100755
--- a/tests/upstream.sh
+++ b/tests/upstream.sh
@@ -19,7 +19,7 @@ setup_gitsvn
git config rietveld.server localhost:8080
- for ref in refs/remotes/trunk refs/remotes/some_branch; do
+ for ref in refs/remotes/origin/trunk refs/remotes/origin/some_branch; do
git branch -f --set-upstream feature_branch $ref
git checkout -q feature_branch
test_expect_success "Guessing upstream branch for $ref" \
« no previous file with comments | « tests/test-lib.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698