eric7.Plugins.VcsPlugins.vcsPySvn.SvnStatusMonitorThread

Module implementing the VCS status monitor thread class for Subversion.

Global Attributes

None

Classes

SvnStatusMonitorThread Class implementing the VCS status monitor thread class for Subversion.

Functions

None


SvnStatusMonitorThread

Class implementing the VCS status monitor thread class for Subversion.

Derived from

VcsStatusMonitorThread

Class Attributes

None

Class Methods

None

Methods

SvnStatusMonitorThread Constructor
__clientLoginCallback Private method called by the client to get login information.
__clientSslServerTrustPromptCallback Private method called by the client to request acceptance for a ssl server certificate.
_performMonitor Protected method implementing the monitoring action.

Static Methods

None

SvnStatusMonitorThread (Constructor)

SvnStatusMonitorThread(interval, project, vcs, parent=None)

Constructor

interval (int)
new interval in seconds
project (Project)
reference to the project object
vcs (Subversion)
reference to the version control object
parent (QObject)
reference to the parent object

SvnStatusMonitorThread.__clientLoginCallback

__clientLoginCallback()

Private method called by the client to get login information.

Return:
tuple of four values (retcode, username, password, save). Retcode should be True, if username and password should be used by subversion, username and password contain the relevant data as strings and save is a flag indicating, that username and password should be saved. Always returns (False, "", "", False).
Return Type:
tuple of (bool, str, str, bool)

SvnStatusMonitorThread.__clientSslServerTrustPromptCallback

__clientSslServerTrustPromptCallback()

Private method called by the client to request acceptance for a ssl server certificate.

Return:
tuple of three values (retcode, acceptedFailures, save). Retcode should be true, if the certificate should be accepted, acceptedFailures should indicate the accepted certificate failures and save should be True, if subversion should save the certificate. Always returns (False, 0, False).
Return Type:
tuple of (bool, int, bool)

SvnStatusMonitorThread._performMonitor

_performMonitor()

Protected method implementing the monitoring action.

This method populates the statusList member variable with a list of strings giving the status in the first column and the path relative to the project directory starting with the third column. The allowed status flags are:

Return:
tuple of flag indicating successful operation and a status message in case of non successful operation
Return Type:
tuple of (bool, str)
Up