Mercurial > hgsubversion
changeset 1104:7d47a0f73135 1.6
setup: also ignore stderr lines about obsolete when guessing version
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 03 Feb 2014 02:00:06 -0500 |
parents | 6e1dbf6cbc92 |
children | 00193337d7f3 5cb6c95e0283 |
files | setup.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py +++ b/setup.py @@ -27,7 +27,8 @@ def runcmd(cmd, env): # trust warnings since the .hg/hgrc file is untrusted. That is # fine, we don't want to load it anyway. err = [e for e in err.splitlines() - if not e.startswith('Not trusting file')] + if not (e.startswith('Not trusting file') + or e.startswith('obsolete feature not enabled'))] if err: return '' return out