[PATCH] revsetbenchmarks: run make after update so that C extensions are built

Yuya Nishihara yuya at tcha.org
Sun Aug 16 14:31:24 UTC 2015


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1439628659 -32400
#      Sat Aug 15 17:50:59 2015 +0900
# Node ID 1d829f802fabcf230e7e72f7f208d6f6f9284659
# Parent  9e7d805925c87cfa0ca30819e8273ac37fd77a62
revsetbenchmarks: run make after update so that C extensions are built

diff --git a/contrib/revsetbenchmarks.py b/contrib/revsetbenchmarks.py
--- a/contrib/revsetbenchmarks.py
+++ b/contrib/revsetbenchmarks.py
@@ -33,6 +33,8 @@ def update(rev):
     """update the repo to a revision"""
     try:
         check_call(['hg', 'update', '--quiet', '--check', str(rev)])
+        check_output(['make', 'local'],
+                     stderr=None)  # suppress output except for error/warning
     except CalledProcessError as exc:
         print >> sys.stderr, 'update to revision %s failed, aborting' % rev
         sys.exit(exc.returncode)


More information about the Mercurial-devel mailing list