Login | Register
My pages Projects Community openCollabNet
Package commitmessage :: Module model :: Class Controller
[show private | hide private]
[frames | no frames]

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'

Method Details

__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

Class Variable Details

TMPDIR

Type:
str
Value:
'C:\\DOCUME~1\\stephen\\LOCALS~1\\Temp'                                

Generated by Epydoc 2.1 on Thu Jan 06 10:30:34 2005 http://epydoc.sf.net