summaryrefslogtreecommitdiffstats
path: root/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'command.py')
-rw-r--r--command.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/command.py b/command.py
index 94f4d754..dc765db0 100644
--- a/command.py
+++ b/command.py
@@ -43,9 +43,6 @@ 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 manifest = None
47 _optparse = None
48
49 # Singleton for all commands to track overall repo command execution and 46 # Singleton for all commands to track overall repo command execution and
50 # provide event summary to callers. Only used by sync subcommand currently. 47 # provide event summary to callers. Only used by sync subcommand currently.
51 # 48 #
@@ -61,6 +58,15 @@ class Command(object):
61 # it is the number of parallel jobs to default to. 58 # it is the number of parallel jobs to default to.
62 PARALLEL_JOBS = None 59 PARALLEL_JOBS = None
63 60
61 def __init__(self, repodir=None, client=None, manifest=None, gitc_manifest=None):
62 self.repodir = repodir
63 self.client = client
64 self.manifest = manifest
65 self.gitc_manifest = gitc_manifest
66
67 # Cache for the OptionParser property.
68 self._optparse = None
69
64 def WantPager(self, _opt): 70 def WantPager(self, _opt):
65 return False 71 return False
66 72