Login | Register
My pages Projects Community openCollabNet

The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours. Further details in the announcement

Package commitmessage :: Package controllers :: Module svn :: Class SvnController
[show private | hide private]
[frames | no frames]

Class SvnController

Controller --+
             |
            SvnController


Uses svnlook to pull data from svn repositories
Method Summary
  _parse_diff(self, diff)
  _populateModel(self)
Fills out the model by invoking svnlook
  _svnlook(self, command)
Return the lines ouput by the svnlook command against the current repo and rev
    Inherited from Controller
  __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
  _executeViews(self)
Executes the views for each module that matches the commit's base directory
  _stopProcessForNow(self)
Return whether to continue with executing the views or stop the process

Class Variable Summary
dict actions = {'A': 'added', 'U': 'modified', 'D': 'removed'...
    Inherited from Controller
str TMPDIR = 'C:\\DOCUME~1\\stephen\\LOCALS~1\\Temp'

Method Details

_populateModel(self)

Fills out the model by invoking svnlook
Overrides:
commitmessage.model.Controller._populateModel

_svnlook(self, command)

Returns:
the lines ouput by the svnlook command against the current repo and rev

Class Variable Details

actions

Type:
dict
Value:
{'A': 'added', 'U': 'modified', 'D': 'removed', '_': 'modified'}       

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