зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1175655 - mozharness should use full hg revision; r=jlund
This commit is contained in:
Родитель
98e5242831
Коммит
345d5ef85c
|
@ -193,7 +193,7 @@ class B2GBuildBaseScript(BuildbotMixin, MockMixin,
|
|||
)
|
||||
else:
|
||||
return None
|
||||
return revision[0:12] if revision else None
|
||||
return revision
|
||||
|
||||
def query_gecko_config_path(self):
|
||||
conf_file = self.config.get('gecko_config')
|
||||
|
|
|
@ -1138,7 +1138,7 @@ or run without that action (ie: --no-{action})"
|
|||
revision = self.get_output_from_command(
|
||||
hg + ['parent', '--template', '{node|short}'], cwd=source_path
|
||||
)
|
||||
return revision[0:12].encode('ascii', 'replace') if revision else None
|
||||
return revision.encode('ascii', 'replace') if revision else None
|
||||
|
||||
def _checkout_source(self):
|
||||
"""use vcs_checkout to grab source needed for build."""
|
||||
|
|
|
@ -220,7 +220,7 @@ class SpidermonkeyBuild(MockMixin,
|
|||
# None.
|
||||
revision = self.config.get('revision')
|
||||
|
||||
return revision[0:12] if revision else None
|
||||
return revision
|
||||
|
||||
def query_branch(self):
|
||||
if self.buildbot_config and 'properties' in self.buildbot_config:
|
||||
|
|
Загрузка…
Ссылка в новой задаче