comparison src/hgrunner.h @ 537:a4e699d32a9a

gah! hg 2.1 changes push and pull so as to return failure codes on success, if there was nothing to push or pull
author Chris Cannam
date Fri, 10 Feb 2012 13:08:07 +0000
parents 856da063d76e
children 533519ebc0cb
comparison
equal deleted inserted replaced
536:5f04fa848f34 537:a4e699d32a9a
40 void killCurrentActions(); // kill anything running; clear the queue 40 void killCurrentActions(); // kill anything running; clear the queue
41 41
42 signals: 42 signals:
43 void commandStarting(HgAction action); 43 void commandStarting(HgAction action);
44 void commandCompleted(HgAction action, QString stdOut); 44 void commandCompleted(HgAction action, QString stdOut);
45 void commandFailed(HgAction action, QString stdErr); 45 void commandFailed(HgAction action, QString stdErr, QString stdOut);
46 46
47 private slots: 47 private slots:
48 void started(); 48 void started();
49 void error(QProcess::ProcessError); 49 void error(QProcess::ProcessError);
50 void finished(int procExitCode, QProcess::ExitStatus procExitStatus); 50 void finished(int procExitCode, QProcess::ExitStatus procExitStatus);