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

Unified Diff: tests/git_cl_test.py

Issue 496073002: Add support for landing to pending ref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
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 | « git_cl.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/git_cl_test.py
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index cc5325821d5607721ca6a3e8cd61e8481bba3ccb..a30bf95ef4bcfbc91f4a07df94b1d8a34edbce98 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -206,6 +206,7 @@ class TestGitCl(TestCase):
((['git', 'config', 'core.editor'],), ''),
] + cc_call + private_call + [
((['git', 'config', 'branch.master.base-url'],), ''),
+ ((['git', 'config', 'rietveld.pending-ref-prefix'],), ''),
((['git',
'config', '--local', '--get-regexp', '^svn-remote\\.'],),
(('', None), 0)),
@@ -252,14 +253,16 @@ class TestGitCl(TestCase):
@classmethod
def _dcommit_calls_1(cls):
return [
+ ((['git', 'config', 'rietveld.autoupdate'],),
+ ''),
+ ((['git', 'config', 'rietveld.pending-ref-prefix'],),
+ ''),
((['git',
'config', '--local', '--get-regexp', '^svn-remote\\.'],),
((('svn-remote.svn.url svn://svn.chromium.org/chrome\n'
'svn-remote.svn.fetch trunk/src:refs/remotes/origin/master'),
None),
0)),
- ((['git', 'config', 'rietveld.autoupdate'],),
- ''),
((['git',
'config', 'rietveld.server'],), 'codereview.example.com'),
((['git', 'symbolic-ref', 'HEAD'],), 'refs/heads/working'),
@@ -689,6 +692,8 @@ class TestGitCl(TestCase):
'rietveld.cpplint-ignore-regex'],), ''),
((['git', 'config', '--unset-all',
'rietveld.project'],), ''),
+ ((['git', 'config', '--unset-all',
+ 'rietveld.pending-ref-prefix'],), ''),
((['git', 'config', 'gerrit.host',
'gerrit.chromium.org'],), ''),
# DownloadHooks(False)
@@ -774,6 +779,8 @@ class TestGitCl(TestCase):
''),
((['git', 'config', 'rietveld.private',],),
''),
+ ((['git', 'config', 'rietveld.pending-ref-prefix',],),
+ ''),
((['git', 'config', '--local', '--get-regexp', '^svn-remote\\.'],),
''),
((['git', 'config', 'rietveld.project',],),
« no previous file with comments | « git_cl.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698