зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1354232 - Don't store the result of update_expected, r=maja_zf
The needs_human feature never worked well and is unused. MozReview-Commit-ID: KemDBXjHPV8
This commit is contained in:
Родитель
4d7745e94a
Коммит
3edd7dc125
|
@ -18,23 +18,21 @@ class GetUpdatePropertyList(Step):
|
|||
class UpdateExpected(Step):
|
||||
"""Do the metadata update on the local checkout"""
|
||||
|
||||
provides = ["needs_human"]
|
||||
|
||||
def create(self, state):
|
||||
if state.sync_tree is not None:
|
||||
sync_root = state.sync_tree.root
|
||||
else:
|
||||
sync_root = None
|
||||
|
||||
state.needs_human = metadata.update_expected(state.paths,
|
||||
state.serve_root,
|
||||
state.run_log,
|
||||
rev_old=None,
|
||||
ignore_existing=state.ignore_existing,
|
||||
sync_root=sync_root,
|
||||
property_order=state.property_order,
|
||||
boolean_properties=state.boolean_properties,
|
||||
stability=state.stability)
|
||||
metadata.update_expected(state.paths,
|
||||
state.serve_root,
|
||||
state.run_log,
|
||||
rev_old=None,
|
||||
ignore_existing=state.ignore_existing,
|
||||
sync_root=sync_root,
|
||||
property_order=state.property_order,
|
||||
boolean_properties=state.boolean_properties,
|
||||
stability=state.stability)
|
||||
|
||||
|
||||
class CreateMetadataPatch(Step):
|
||||
|
|
Загрузка…
Ссылка в новой задаче