Package trac :: Package versioncontrol :: Module api :: Class IRepositoryChangeListener

Class IRepositoryChangeListener

source code

    object --+    
             |    
core.Interface --+
                 |
                IRepositoryChangeListener

Listen for changes in repositories.
Instance Methods
 
changeset_added(repos, changeset)
Called after a changeset has been added to a repository.
source code
 
changeset_modified(repos, changeset, old_changeset)
Called after a changeset has been modified in a repository.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

changeset_modified(repos, changeset, old_changeset)

source code 

Called after a changeset has been modified in a repository.

The old_changeset argument contains the metadata of the changeset prior to the modification. It is None if the old metadata cannot be retrieved.