15 |
15 |
16 class SvnStatusMonitorThread(VcsStatusMonitorThread): |
16 class SvnStatusMonitorThread(VcsStatusMonitorThread): |
17 """ |
17 """ |
18 Class implementing the VCS status monitor thread class for Subversion. |
18 Class implementing the VCS status monitor thread class for Subversion. |
19 """ |
19 """ |
20 def __init__(self, interval, projectDir, vcs, parent = None): |
20 def __init__(self, interval, project, vcs, parent = None): |
21 """ |
21 """ |
22 Constructor |
22 Constructor |
23 |
23 |
24 @param interval new interval in seconds (integer) |
24 @param interval new interval in seconds (integer) |
25 @param projectDir project directory to monitor (string) |
25 @param project reference to the project object (Project) |
26 @param vcs reference to the version control object |
26 @param vcs reference to the version control object |
27 @param parent reference to the parent object (QObject) |
27 @param parent reference to the parent object (QObject) |
28 """ |
28 """ |
29 VcsStatusMonitorThread.__init__(self, interval, projectDir, vcs, parent) |
29 VcsStatusMonitorThread.__init__(self, interval, project, vcs, parent) |
30 |
30 |
31 self.__ioEncoding = Preferences.getSystem("IOEncoding") |
31 self.__ioEncoding = Preferences.getSystem("IOEncoding") |
32 |
32 |
33 self.rx_status1 = \ |
33 self.rx_status1 = \ |
34 QRegExp('(.{8})\\s+([0-9-]+)\\s+(.+)\\s*') |
34 QRegExp('(.{8})\\s+([0-9-]+)\\s+(.+)\\s*') |