comparison 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
comparison
equal deleted inserted replaced
199:f16fe0db11f3 200:8c8c04bdf0fa
23 23
24 enum HGACTIONS 24 enum HGACTIONS
25 { 25 {
26 ACT_NONE, 26 ACT_NONE,
27 ACT_TEST_HG, 27 ACT_TEST_HG,
28 ACT_TEST_HG_EXT,
28 ACT_QUERY_PATHS, 29 ACT_QUERY_PATHS,
29 ACT_QUERY_BRANCH, 30 ACT_QUERY_BRANCH,
30 ACT_STAT, 31 ACT_STAT,
31 ACT_RESOLVE_LIST, 32 ACT_RESOLVE_LIST,
32 ACT_QUERY_HEADS, 33 ACT_QUERY_HEADS,
73 } 74 }
74 75
75 bool shouldBeFast() const { 76 bool shouldBeFast() const {
76 switch (action) { 77 switch (action) {
77 case ACT_NONE: 78 case ACT_NONE:
79 case ACT_TEST_HG:
80 case ACT_TEST_HG_EXT:
78 case ACT_QUERY_PATHS: 81 case ACT_QUERY_PATHS:
79 case ACT_QUERY_BRANCH: 82 case ACT_QUERY_BRANCH:
80 case ACT_STAT: 83 case ACT_STAT:
81 case ACT_RESOLVE_LIST: 84 case ACT_RESOLVE_LIST:
82 case ACT_QUERY_HEADS: 85 case ACT_QUERY_HEADS:
88 } 91 }
89 } 92 }
90 93
91 bool mayBeInteractive() const { 94 bool mayBeInteractive() const {
92 switch (action) { 95 switch (action) {
93 case ACT_TEST_HG: // so we force the module load to be tested 96 case ACT_TEST_HG_EXT: // so we force the module load to be tested
94 case ACT_INCOMING: 97 case ACT_INCOMING:
95 case ACT_PUSH: 98 case ACT_PUSH:
96 case ACT_PULL: 99 case ACT_PULL:
97 case ACT_CLONEFROMREMOTE: 100 case ACT_CLONEFROMREMOTE:
98 case ACT_FOLDERDIFF: 101 case ACT_FOLDERDIFF: