Chromium Code Reviews

Unified Diff: tests/fake_repos.py

Issue 2304002: Add workaround to ignore the first solution specified with --revision solution@rev (Closed)
Patch Set: . Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« 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 85746cf3ab0faf23401d01df8ae6486e50414d53..920742e47c89e33b77727af14266a7b09ee755cb 100755
--- a/tests/fake_repos.py
+++ b/tests/fake_repos.py
@@ -237,13 +237,13 @@ hooks = [
{
'pattern': '.',
'action': ['python', '-c',
- 'open(\\'src/hooked1\\', \\'w\\').write(\\'hooked1\\')'],
+ 'open(\\'src/svn_hooked1\\', \\'w\\').write(\\'svn_hooked1\\')'],
},
{
# Should not be run.
'pattern': 'nonexistent',
'action': ['python', '-c',
- 'open(\\'src/hooked2\\', \\'w\\').write(\\'hooked2\\')'],
+ 'open(\\'src/svn_hooked2\\', \\'w\\').write(\\'svn_hooked2\\')'],
},
]
""" % { 'host': '127.0.0.1' }))
@@ -321,13 +321,13 @@ hooks = [
{
'pattern': '.',
'action': ['python', '-c',
- 'open(\\'src/hooked1\\', \\'w\\').write(\\'hooked1\\')'],
+ 'open(\\'src/git_hooked1\\', \\'w\\').write(\\'git_hooked1\\')'],
},
{
# Should not be run.
'pattern': 'nonexistent',
'action': ['python', '-c',
- 'open(\\'src/hooked2\\', \\'w\\').write(\\'hooked2\\')'],
+ 'open(\\'src/git_hooked2\\', \\'w\\').write(\\'git_hooked2\\')'],
},
]
""" % {
« no previous file with comments | « gclient.py ('k') | tests/gclient_smoketest.py » ('j') | no next file with comments »

Powered by Google App Engine