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

Unified Diff: tests/git_cl_test.py

Issue 132233006: Add support for BUG_PREFIX in codereview.settings (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools/
Patch Set: Initial upload Created 6 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 | « 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
===================================================================
--- tests/git_cl_test.py (revision 244759)
+++ tests/git_cl_test.py (working copy)
@@ -178,6 +178,7 @@
((['git', 'log', '--pretty=format:%s\n\n%b',
'fake_ancestor_sha..HEAD'],),
'desc\n'),
+ ((['git', 'config', 'rietveld.bug-prefix'],), ''),
]
@classmethod
@@ -670,6 +671,8 @@
'rietveld.tree-status-url'],), ''),
((['git', 'config', '--unset-all',
'rietveld.viewvc-url'],), ''),
+ ((['git', 'config', '--unset-all',
+ 'rietveld.bug-prefix'],), ''),
((['git', 'config', 'gerrit.host',
'gerrit.chromium.org'],), ''),
# DownloadHooks(False)
@@ -695,6 +698,8 @@
((['git', 'config', 'rietveld.viewvc-url'],), ''),
(('ViewVC URL:',), ''),
# DownloadHooks(True)
+ ((['git', 'config', 'rietveld.bug-prefix'],), ''),
+ (('Bug Prefix:',), ''),
((commit_msg_path, os.X_OK,), True),
]
git_cl.main(['config'])
« 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