Mercurial > hg > easyhg
comparison 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 |
comparison
equal
deleted
inserted
replaced
73:a773c6e7b301 | 74:10eb97683aa9 |
---|---|
97 { | 97 { |
98 setProcExitInfo(procExitCode, procExitStatus); | 98 setProcExitInfo(procExitCode, procExitStatus); |
99 saveOutput(); | 99 saveOutput(); |
100 isRunning = false; | 100 isRunning = false; |
101 | 101 |
102 if (procExitCode == 0 || procExitStatus == QProcess::NormalExit) { | 102 if (procExitCode == 0 && procExitStatus == QProcess::NormalExit) { |
103 DEBUG << "HgRunner::finished: Command completed successfully: stderr says: " << stdErr << endl; | |
103 emit commandCompleted(); | 104 emit commandCompleted(); |
104 } else { | 105 } else { |
106 DEBUG << "HgRunner::finished: Command failed: stderr says: " << stdErr << endl; | |
105 emit commandFailed(); | 107 emit commandFailed(); |
106 } | 108 } |
107 } | 109 } |
108 | 110 |
109 bool HgRunner::isCommandRunning() | 111 bool HgRunner::isCommandRunning() |