diff options
Diffstat (limited to 'command.py')
-rw-r--r-- | command.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -43,11 +43,15 @@ class Command(object): | |||
43 | """Base class for any command line action in repo. | 43 | """Base class for any command line action in repo. |
44 | """ | 44 | """ |
45 | 45 | ||
46 | common = False | ||
47 | event_log = EventLog() | 46 | event_log = EventLog() |
48 | manifest = None | 47 | manifest = None |
49 | _optparse = None | 48 | _optparse = None |
50 | 49 | ||
50 | # Whether this command is a "common" one, i.e. whether the user would commonly | ||
51 | # use it or it's a more uncommon command. This is used by the help command to | ||
52 | # show short-vs-full summaries. | ||
53 | COMMON = False | ||
54 | |||
51 | # Whether this command supports running in parallel. If greater than 0, | 55 | # Whether this command supports running in parallel. If greater than 0, |
52 | # it is the number of parallel jobs to default to. | 56 | # it is the number of parallel jobs to default to. |
53 | PARALLEL_JOBS = None | 57 | PARALLEL_JOBS = None |