# HG changeset patch # User Kevin Bullock # Date 1508814839 18000 # Node ID a6a322193a0227629dec874801b0a013274e0ca3 # Parent d643848635deab027f022b1ec7bb5c0d8b2f53ad setup: filter out devel-warn messages from system hg If we're going to use the user's installed and configured hg command (which we do since 8b20338b989e), we should prevent devel-warn messages from interfering with locating it. diff -r d643848635de -r a6a322193a02 setup.py --- a/setup.py Mon Oct 23 21:30:59 2017 -0500 +++ b/setup.py Mon Oct 23 22:13:59 2017 -0500 @@ -218,7 +218,8 @@ err = [e for e in err.splitlines() 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'obsolete feature not enabled') + and not e.startswith(b'devel-warn:'))] return b'\n'.join(b' ' + e for e in err) def findhg():