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

Side by Side Diff: git_cl/test/upstream.sh

Issue 6598068: Add support for wildcards in svn remote configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: sync Created 9 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « git_cl/test/test-lib.sh ('k') | scm.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Check guessing the svn upstream branch.
4
5 set -e
6
7 . ./test-lib.sh
8
9 setup_initsvn
10 setup_gitsvn
11
12 (
13 set -e
14 cd git-svn
15
16 git config rietveld.server localhost:8080
17
18 for ref in refs/remotes/trunk refs/remotes/some_branch; do
19 git checkout -q -B feature_branch $ref
20 test_expect_success "Guessing upstream branch for $ref" \
21 "$GIT_CL upstream | egrep -q '^$ref$'"
22 git checkout -q master
23 done
24 )
25
26 SUCCESS=$?
27
28 cleanup
29
30 if [ $SUCCESS == 0 ]; then
31 echo PASS
32 fi
OLDNEW
« no previous file with comments | « git_cl/test/test-lib.sh ('k') | scm.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698