Summary:
This probably indicates some none fatal error, e.g.:
> remote: Certificate invalid: name is not a listed principal
The best thing here would be to avoid the error but we shouldn't explode even if it is there.
I tried to mute the error from the output but didn't find a switch or config option to do it.
Test Plan:
$ hg outgoing --branch default --style default
Reviewers: epriestley
Reviewed By: epriestley
CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D5267
// format is otherwise identical to "hg log".
continue;
}
+
+ if (preg_match('/^remote:/', $line)) {
+ // This indicates remote error in "hg outgoing".
+ continue;
+ }
+
list($name, $value) = explode(':', $line, 2);
$value = trim($value);
switch ($name) {