Mercurial > hg > easyhg
diff hgrunner.cpp @ 74:10eb97683aa9
* Show branch names even for changes with children, if those children are on a different branch
* Pick up remote repo path from local repo via hg paths
* Some work towards breaking down files into various groups based on status
* Add /usr/local/bin to path for hg (temporary hack I hope)
author | Chris Cannam |
---|---|
date | Fri, 19 Nov 2010 14:54:19 +0000 |
parents | 794db9353c7f |
children | 295e3ee4a257 |
line wrap: on
line diff
--- a/hgrunner.cpp Thu Nov 18 18:08:18 2010 +0000 +++ b/hgrunner.cpp Fri Nov 19 14:54:19 2010 +0000 @@ -99,9 +99,11 @@ saveOutput(); isRunning = false; - if (procExitCode == 0 || procExitStatus == QProcess::NormalExit) { + if (procExitCode == 0 && procExitStatus == QProcess::NormalExit) { + DEBUG << "HgRunner::finished: Command completed successfully: stderr says: " << stdErr << endl; emit commandCompleted(); } else { + DEBUG << "HgRunner::finished: Command failed: stderr says: " << stdErr << endl; emit commandFailed(); } }