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

Unified Diff: tools/git-sync-deps

Issue 1646863002: tools/git-sync-deps: fix error in git syntax for changing origin (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/git-sync-deps
diff --git a/tools/git-sync-deps b/tools/git-sync-deps
index c99ae9120727abdd17a3163743d0506f0c57e10c..e13ce8831a747ad77a8322203ac488e634016f61 100755
--- a/tools/git-sync-deps
+++ b/tools/git-sync-deps
@@ -144,7 +144,8 @@ def git_checkout_to_directory(git, repo, checkoutable, directory, verbose):
if 0 != subprocess.call(
[git, 'checkout', '--quiet', checkoutable], cwd=directory):
- subprocess.check_call([git, 'remote', 'set-url', repo], cwd=directory)
+ subprocess.check_call(
+ [git, 'remote', 'set-url', 'origin', repo], cwd=directory)
subprocess.check_call([git, 'fetch', '--quiet'], cwd=directory)
subprocess.check_call([git, 'checkout', '--quiet'], cwd=directory)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698