diff hgaction.h @ 200:8c8c04bdf0fa

* Separate out the hg test action into two tests, one for plain hg and one with the extension (so can report separately)
author Chris Cannam
date Tue, 04 Jan 2011 12:42:28 +0000
parents 6def8bf3be44
children 8fd71f570884
line wrap: on
line diff
--- a/hgaction.h	Mon Jan 03 22:02:08 2011 +0000
+++ b/hgaction.h	Tue Jan 04 12:42:28 2011 +0000
@@ -25,6 +25,7 @@
 {
     ACT_NONE,
     ACT_TEST_HG,
+    ACT_TEST_HG_EXT,
     ACT_QUERY_PATHS,
     ACT_QUERY_BRANCH,
     ACT_STAT,
@@ -75,6 +76,8 @@
     bool shouldBeFast() const {
         switch (action) {
         case ACT_NONE:
+        case ACT_TEST_HG:
+        case ACT_TEST_HG_EXT:
         case ACT_QUERY_PATHS:
         case ACT_QUERY_BRANCH:
         case ACT_STAT:
@@ -90,7 +93,7 @@
     
     bool mayBeInteractive() const {
 	switch (action) {
-        case ACT_TEST_HG: // so we force the module load to be tested
+        case ACT_TEST_HG_EXT: // so we force the module load to be tested
 	case ACT_INCOMING:
 	case ACT_PUSH:
 	case ACT_PULL: