Bug 1500897 - Follow-up: Get hg_branch from GECKO repo. r=jorgk

Differential Revision: https://phabricator.services.mozilla.com/D10135

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Rob Lemley 2018-10-30 00:15:23 +00:00
Родитель 976c503a09
Коммит 41766ace70
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -194,7 +194,6 @@ def get_decision_parameters(config, options):
"""
product_dir = config['product-dir']
root = options.get('root') or GECKO
parameters = {n: options[n] for n in [
'base_repository',
@ -229,7 +228,7 @@ def get_decision_parameters(config, options):
parameters['build_number'] = 1
parameters['version'] = get_version(product_dir)
parameters['app_version'] = get_app_version(product_dir)
parameters['hg_branch'] = get_hg_revision_branch(root, revision=parameters['head_rev'])
parameters['hg_branch'] = get_hg_revision_branch(GECKO, revision=parameters['head_rev'])
parameters['next_version'] = None
parameters['release_type'] = ''
parameters['release_eta'] = ''