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

Unified Diff: scripts/master/try_job_base.py

Issue 132333022: Keep original revision as a build property. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: 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 | « no previous file | scripts/master/unittests/try_job_base_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/master/try_job_base.py
===================================================================
--- scripts/master/try_job_base.py (revision 247974)
+++ scripts/master/try_job_base.py (working copy)
@@ -128,7 +128,10 @@
flatten(options, 'root', None)
try_int(options, 'patchlevel', 0)
flatten(options, 'branch', None)
+
flatten(options, 'revision', None)
+ options.setdefault('orig_revision', options['revision'])
+
flatten(options, 'reason', '%s: %s' % (options['user'], options['name']))
try_bool(options, 'clobber', False)
@@ -206,6 +209,7 @@
keys = (
'clobber',
'issue',
+ 'orig_revision',
'patch_url',
'patchset',
'requester',
« no previous file with comments | « no previous file | scripts/master/unittests/try_job_base_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698