# HG changeset patch # User Benoit Boissinot # Date 1362387952 -3600 # Node ID d420ac09f866faca827abd9c65f494e01d53e3c6 # Parent 3f59cb1ccc73671b5aaf9f91eef2a466be1ff1e2 setup.py: ignore warnings from obsolete Fix version detection with recent hg versions. diff -r 3f59cb1ccc73 -r d420ac09f866 setup.py --- a/setup.py Mon Mar 04 10:13:28 2013 +0100 +++ b/setup.py Mon Mar 04 10:05:52 2013 +0100 @@ -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])