Ignore warnings when running hg commands
Review Request #2995 — Created March 21, 2012 and submitted
Ignore warnings when running hg commands hg may sometimes emit warnings that are not actually meaningful to the command being run by post-review. For instance, my hg will emit the following for 'hg -q outgoing --template 'b:{branches}\nr:{rev}\n\n' when run with python2.5: --- warning: certificate for foo can't be verified (Python too old)" b: r:8869 --- This warning is not meaningful, so we just ignore it.
Manual testing with a version of hg that gives this warning.
Description | From | Last Updated |
---|---|---|
This is kind of expensive, since we're doing a pretty big operation on the list for each warning we find. … |
chipx86 |
CS
- Description:
-
+ Ignore warnings when running hg commands
+ hg may sometimes emit warnings that are not actually meaningful to the command being run by post-review. For instance, my hg will emit the following for 'hg -q outgoing --template 'b:{branches}\nr:{rev}\n\n' when run with python2.5:
warning: certificate for foo can't be verified (Python too old)"
b: r:8869 This warning is not meaningful, so we just ignore it.
- Branch:
-
master
- Diff:
-
Revision 2 (+4 -1)