Mercurial > hg-stable
changeset 34923:a6a322193a02 stable
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.
author | Kevin Bullock <kbullock+mercurial@ringworld.org> |
---|---|
date | Mon, 23 Oct 2017 22:13:59 -0500 |
parents | d643848635de |
children | bfcd0d227972 |
files | setup.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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():