forked from mirrors/gecko-dev
Bug 1334167: calculate head revision with -r .; r=Callek
MozReview-Commit-ID: 6tmdO5qwD4g --HG-- extra : rebase_source : 652995c97ffc22125343aedfb5b07eddda5b7d38
This commit is contained in:
parent
4811200bb1
commit
1468523af0
1 changed files with 4 additions and 1 deletions
|
|
@ -26,4 +26,7 @@ def match_utc(params, hour=None, minute=None):
|
|||
|
||||
|
||||
def calculate_head_rev(options):
|
||||
return subprocess.check_output(['hg', 'log', '-r', options['head_ref'], '-T', '{node}'])
|
||||
# we assume that run-task has correctly checked out the revision indicated by
|
||||
# GECKO_HEAD_REF, so all that remains is to see what the current revision is.
|
||||
# Mercurial refers to that as `.`.
|
||||
return subprocess.check_output(['hg', 'log', '-r', '.', '-T', '{node}'])
|
||||
|
|
|
|||
Loading…
Reference in a new issue