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

Side by Side Diff: tests/test-lib.sh

Issue 6758001: Move git_cl back into depot_tools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Add stub to not break incremental update 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 | « tests/tbr.sh ('k') | tests/upload-local-tracking-branch.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Abort on error. 3 # Abort on error.
4 set -e 4 set -e
5 5
6 PWD=`pwd` 6 PWD=`pwd`
7 REPO_URL=file://$PWD/svnrepo 7 REPO_URL=file://$PWD/svnrepo
8 TRUNK_URL=$REPO_URL/trunk 8 TRUNK_URL=$REPO_URL/trunk
9 BRANCH_URL=$REPO_URL/branches/some_branch 9 BRANCH_URL=$REPO_URL/branches/some_branch
10 GITREPO_PATH=$PWD/gitrepo 10 GITREPO_PATH=$PWD/gitrepo
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 return $exit_code 96 return $exit_code
97 fi 97 fi
98 } 98 }
99 99
100 # Grab the XSRF token from the review server and print it to stdout. 100 # Grab the XSRF token from the review server and print it to stdout.
101 print_xsrf_token() { 101 print_xsrf_token() {
102 curl --cookie dev_appserver_login="test@example.com:False" \ 102 curl --cookie dev_appserver_login="test@example.com:False" \
103 --header 'X-Requesting-XSRF-Token: 1' \ 103 --header 'X-Requesting-XSRF-Token: 1' \
104 http://localhost:8080/xsrf_token 2>/dev/null 104 http://localhost:8080/xsrf_token 2>/dev/null
105 } 105 }
OLDNEW
« no previous file with comments | « tests/tbr.sh ('k') | tests/upload-local-tracking-branch.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698