contrib/revsetbenchmarks.py
changeset 26034 1d829f802fab
parent 25660 328739ea70c3
child 26781 1aee2ab0f902
equal deleted inserted replaced
26033:9e7d805925c8 26034:1d829f802fab
    31 
    31 
    32 def update(rev):
    32 def update(rev):
    33     """update the repo to a revision"""
    33     """update the repo to a revision"""
    34     try:
    34     try:
    35         check_call(['hg', 'update', '--quiet', '--check', str(rev)])
    35         check_call(['hg', 'update', '--quiet', '--check', str(rev)])
       
    36         check_output(['make', 'local'],
       
    37                      stderr=None)  # suppress output except for error/warning
    36     except CalledProcessError as exc:
    38     except CalledProcessError as exc:
    37         print >> sys.stderr, 'update to revision %s failed, aborting' % rev
    39         print >> sys.stderr, 'update to revision %s failed, aborting' % rev
    38         sys.exit(exc.returncode)
    40         sys.exit(exc.returncode)
    39 
    41 
    40 
    42