Mercurial > hg > mercurial-source
diff setup.py @ 18755:d420ac09f866 stable
setup.py: ignore warnings from obsolete
Fix version detection with recent hg versions.
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 04 Mar 2013 10:05:52 +0100 (2013-03-04) |
parents | 3f59cb1ccc73 |
children | 930d54b1fd29 |
line wrap: on
line diff
--- a/setup.py +++ b/setup.py @@ -149,7 +149,8 @@ # a missing __init__.py in mercurial/locale, we also ignore that. 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('warning: Not importing')) \ + and not e.startswith(b('obsolete feature not enabled'))] if err: print >> sys.stderr, "stderr from '%s':" % (' '.join(cmd)) print >> sys.stderr, '\n'.join([' ' + e for e in err])