# HG changeset patch # User Chris Cannam # Date 1297944609 0 # Node ID a98e76fa58f2f9142b0d38206da24b44e57add60 # Parent cbfc1930289a4d48458d02b2bfbd3585541e1d65 * Avoid reporting failure when hg incoming shows a warning (as is the case when site cert could not be verified) diff -r cbfc1930289a -r a98e76fa58f2 mainwindow.cpp --- a/mainwindow.cpp Thu Feb 10 18:49:47 2011 +0000 +++ b/mainwindow.cpp Thu Feb 17 12:10:09 2011 +0000 @@ -1695,7 +1695,7 @@ case ACT_INCOMING: // returns non-zero code and no output if the check was // successful but there are no changes pending - if (output.trimmed() == "") { + if (output.replace(QRegExp("(^|\\n)warning: [^\\n]*\\n"), "").trimmed() == "") { showIncoming(""); return; }