diff hgaction.h @ 110:0f039d3cc38e

* Separate out the hgrunner output into stdout and stderr again (merging them was a failed experiment)
author Chris Cannam
date Fri, 26 Nov 2010 14:50:10 +0000
parents 1721c580c10e
children 5fc7b4fc77a8
line wrap: on
line diff
--- a/hgaction.h	Fri Nov 26 12:48:29 2010 +0000
+++ b/hgaction.h	Fri Nov 26 14:50:10 2010 +0000
@@ -65,21 +65,7 @@
 
     HgAction(HGACTIONS _action, QString _wd, QStringList _params) :
         action(_action), workingDir(_wd), params(_params) { }
-/*
-    HgAction(const HgAction &a) :
-        action(a.action), workingDir(a.workingDir),
-        params(a.params), executable(a.executable) { }
 
-    HgAction &operator=(const HgAction &a) {
-        if (&a != this) {
-            action = a.action;
-            workingDir = a.workingDir;
-            params = a.params;
-            executable = a.executable;
-        }
-        return *this;
-    }
-*/
     bool operator==(const HgAction &a) {
         return (a.action == action && a.workingDir == workingDir &&
                 a.params == params && a.executable == executable);
@@ -91,6 +77,10 @@
 	case ACT_PUSH:
 	case ACT_PULL:
 	case ACT_CLONEFROMREMOTE:
+	case ACT_FILEDIFF:
+	case ACT_FOLDERDIFF:
+	case ACT_CHGSETDIFF:
+	case ACT_SERVE:
 	    return true;
 	default:
 	    return false;