setup: ignore extension load failures when finding working hg
authorRyan McElroy <rmcelroy@fb.com>
Sat, 03 Mar 2018 11:07:46 -0800
changeset 36684 5f41e3418407
parent 36683 e39953fdd924
child 36685 2a258985ffeb
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
setup.py
--- 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)