Class Controller
- Known Subclasses:
-
CvsController,
SvnController
A base implementation for SCM-specific controllers to extend; mostly
does the generic Views handling.
| Method Summary |
| |
__init__(self,
config,
argv,
stdin)
Initializes the controller's model and saves the references to argv
and stdin |
| |
addRepoPrefix(self)
Return whether the name of the CVS module/SVN repo should prefix all of the
directory paths |
| |
matchWithRepoPrefix(self)
Return whether the name of the CVS module/SVN repo should be used in matching
the greatest common directory to modules |
| |
process(self)
Starts the SCM-agnostic process of building the model and executing
the views |
| Class Variable Summary |
str |
TMPDIR = 'C:\\DOCUME~1\\stephen\\LOCALS~1\\Temp'
|
__init__(self,
config,
argv,
stdin)
(Constructor)
Initializes the controller's model and saves the references to argv
and stdin
-
- Parameters:
config -
a commitmessage.util.CmConfigParser
created by commitmessage.main
argv -
the command line arguments, as gathered by
commitmessage.main
stdin -
where to stream responses to
|
addRepoPrefix(self)
-
- Returns:
-
whether the name of the CVS module/SVN repo should prefix all
of the directory paths
|
matchWithRepoPrefix(self)
-
- Returns:
-
whether the name of the CVS module/SVN repo should be used in
matching the greatest common directory to modules
|
process(self)
Starts the SCM-agnostic process of building the model and executing
the views
-
|
TMPDIR
-
- Type:
-
str
- Value:
'C:\\DOCUME~1\\stephen\\LOCALS~1\\Temp'
|
|