changeset 36713:5f41e3418407

setup: ignore extension load failures when finding working hg Previously, `make local` would fail if any extension was not properly loading. Differential Revision: https://phab.mercurial-scm.org/D2589
author Ryan McElroy <rmcelroy@fb.com>
date Sat, 03 Mar 2018 11:07:46 -0800
parents e39953fdd924
children 2a258985ffeb
files setup.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Sat Mar 03 00:35:59 2018 -0500
+++ b/setup.py	Sat Mar 03 11:07:46 2018 -0800
@@ -255,6 +255,7 @@
            if (not e.startswith(b'not trusting file')
                and not e.startswith(b'warning: Not importing')
                and not e.startswith(b'obsolete feature not enabled')
+               and not e.startswith(b'*** failed to import extension')
                and not e.startswith(b'devel-warn:'))]
     return b'\n'.join(b'  ' + e for e in err)