[PATCH] revsetbenchmarks: run make after update so that C extensions are built
Augie Fackler
raf at durin42.com
Mon Aug 17 13:18:50 CDT 2015
On Sun, Aug 16, 2015 at 11:31:24PM +0900, Yuya Nishihara wrote:
> # 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
Looks sensible. Queued.
>
> 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)
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list