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

Unified Diff: tests/fake_repos.py

Issue 2839008: Make the DEPS parsing saner. (Closed)
Patch Set: Take 3. fixes issue with double-parsed DEPS Created 10 years, 6 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 | « gclient.py ('k') | tests/gclient_smoketest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/fake_repos.py
diff --git a/tests/fake_repos.py b/tests/fake_repos.py
index 63fc15173f7889db9c4cfa517549b9ecb0ba53d1..b1a2502c4525699c9afc08c3a71f7b7c97470592 100755
--- a/tests/fake_repos.py
+++ b/tests/fake_repos.py
@@ -337,8 +337,8 @@ class FakeRepos(object):
# - deps_os
# - var
# - hooks
- # TODO(maruel):
# - From
+ # TODO(maruel):
# - File
# - $matching_files
# - use_relative_paths
@@ -360,8 +360,8 @@ deps_os = {
fs = file_system(2, """
deps = {
'src/other': 'svn://%(host)s/svn/trunk/other',
- 'src/third_party/foo': '/trunk/third_party/foo@1',
- #'src/third_party/foo': From('src/other', 'foo/bar'),
+ #'src/third_party/foo': '/trunk/third_party/foo@1',
+ 'src/third_party/foo': From('src/other', 'foo/bar'),
}
# I think this is wrong to have the hooks run from the base of the gclient
# checkout. It's maybe a bit too late to change that behavior.
@@ -405,8 +405,8 @@ deps = {
# - deps_os
# - var
# - hooks
- # TODO(maruel):
# - From
+ # TODO(maruel):
# - File
# - $matching_files
# - use_relative_paths
@@ -467,8 +467,8 @@ deps = {
'DEPS': """
deps = {
'src/repo2': 'git://%(host)s/git/repo_2@%(hash)s',
- 'src/repo2/repo_renamed': '/repo_3',
- #'src/repo2/repo_renamed': From('src/repo2', 'foo/bar'),
+ #'src/repo2/repo_renamed': '/repo_3',
+ 'src/repo2/repo_renamed': From('src/repo2', 'foo/bar'),
}
# I think this is wrong to have the hooks run from the base of the gclient
# checkout. It's maybe a bit too late to change that behavior.
« no previous file with comments | « gclient.py ('k') | tests/gclient_smoketest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698