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

Unified Diff: deps2git.py

Issue 493483002: Retain original DEPS 'vars' in converted .DEPS.git. (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/deps2git
Patch Set: Created 6 years, 4 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 | deps_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: deps2git.py
diff --git a/deps2git.py b/deps2git.py
index fb9145a98a155b82395512a459a7dd2aad83cc33..d40544974a4091be320a4ef4ee1fa64cf9da6e44 100755
--- a/deps2git.py
+++ b/deps2git.py
@@ -310,7 +310,7 @@ def main():
options = parser.parse_args()[0]
# Get the content of the DEPS file.
- deps, deps_os, include_rules, skip_child_includes, hooks = (
+ deps, deps_os, include_rules, skip_child_includes, hooks, deps_vars = (
deps_utils.GetDepsContent(options.deps))
if options.extra_rules and options.type:
@@ -333,10 +333,10 @@ def main():
# Create a var containing the Git and Webkit URL, this will make it easy for
# people to use a mirror instead.
git_url = 'https://chromium.googlesource.com'
- deps_vars = {
+ deps_vars.update({
'git_url': git_url,
'webkit_url': git_url + '/chromium/blink.git',
- }
+ })
# Find and load svn_to_git_* modules that handle the URL mapping.
svn_to_git_objs = [svn_to_git_public]
« no previous file with comments | « no previous file | deps_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698