Commits

Augie Fackler committed 7d47a0f

setup: also ignore stderr lines about obsolete when guessing version

  • Participants
  • Parent commits 6e1dbf6
  • Tags 1.6

Comments (0)

Files changed (1)

     # 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