Bug 1325216 - Restore the ability to pull artifacts from try jobs for local artifact builds. r=mshal

MozReview-Commit-ID: Kl5n9coYdJY

--HG--
extra : rebase_source : b882e3d17cc44d8a22c83491ee0c6c6688d3b01a
This commit is contained in:
Chris Manchester 2016-12-21 14:19:37 -08:00
Родитель e495512377
Коммит 115c62c97a
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -1044,7 +1044,8 @@ class Artifacts(object):
'revision': revision},
'Will only accept artifacts from a pushhead at {revision} '
'(matched revset "{revset}").')
pushheads = [(list(CANDIDATE_TREES), revision)]
# Include try in our search to allow pulling from a specific push.
pushheads = [(list(CANDIDATE_TREES) + ['try'], revision)]
return self._install_from_hg_pushheads(pushheads, distdir)
def install_from(self, source, distdir):