|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsSubversion.SvnStatusMonitorThread</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.VcsPlugins.vcsSubversion.SvnStatusMonitorThread</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the VCS status monitor thread class for Subversion. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#SvnStatusMonitorThread">SvnStatusMonitorThread</a></td> |
|
25 <td>Class implementing the VCS status monitor thread class for Subversion.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="SvnStatusMonitorThread" ID="SvnStatusMonitorThread"></a> |
|
36 <h2>SvnStatusMonitorThread</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing the VCS status monitor thread class for Subversion. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 VcsStatusMonitorThread |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#SvnStatusMonitorThread.__init__">SvnStatusMonitorThread</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#SvnStatusMonitorThread._performMonitor">_performMonitor</a></td> |
|
63 <td>Protected method implementing the monitoring action.</td> |
|
64 </tr> |
|
65 </table> |
|
66 <h3>Static Methods</h3> |
|
67 |
|
68 <table> |
|
69 <tr><td>None</td></tr> |
|
70 </table> |
|
71 |
|
72 <a NAME="SvnStatusMonitorThread.__init__" ID="SvnStatusMonitorThread.__init__"></a> |
|
73 <h4>SvnStatusMonitorThread (Constructor)</h4> |
|
74 <b>SvnStatusMonitorThread</b>(<i>interval, project, vcs, parent=None</i>) |
|
75 |
|
76 <p> |
|
77 Constructor |
|
78 </p> |
|
79 <dl> |
|
80 |
|
81 <dt><i>interval</i></dt> |
|
82 <dd> |
|
83 new interval in seconds (integer) |
|
84 </dd> |
|
85 <dt><i>project</i></dt> |
|
86 <dd> |
|
87 reference to the project object (Project) |
|
88 </dd> |
|
89 <dt><i>vcs</i></dt> |
|
90 <dd> |
|
91 reference to the version control object |
|
92 </dd> |
|
93 <dt><i>parent</i></dt> |
|
94 <dd> |
|
95 reference to the parent object (QObject) |
|
96 </dd> |
|
97 </dl> |
|
98 <a NAME="SvnStatusMonitorThread._performMonitor" ID="SvnStatusMonitorThread._performMonitor"></a> |
|
99 <h4>SvnStatusMonitorThread._performMonitor</h4> |
|
100 <b>_performMonitor</b>(<i></i>) |
|
101 |
|
102 <p> |
|
103 Protected method implementing the monitoring action. |
|
104 </p> |
|
105 <p> |
|
106 This method populates the statusList member variable |
|
107 with a list of strings giving the status in the first column and the |
|
108 path relative to the project directory starting with the third column. |
|
109 The allowed status flags are: |
|
110 <ul> |
|
111 <li>"A" path was added but not yet committed</li> |
|
112 <li>"M" path has local changes</li> |
|
113 <li>"O" path was removed</li> |
|
114 <li>"R" path was deleted and then re-added</li> |
|
115 <li>"U" path needs an update</li> |
|
116 <li>"Z" path contains a conflict</li> |
|
117 <li>"?" path is not tracked</li> |
|
118 <li>"!" path is missing</li> |
|
119 <li>" " path is back at normal</li> |
|
120 </ul> |
|
121 </p> |
|
122 <dl> |
|
123 <dt>Return:</dt> |
|
124 <dd> |
|
125 tuple of flag indicating successful operation (boolean) and |
|
126 a status message in case of non successful operation (string) |
|
127 </dd> |
|
128 </dl> |
|
129 <div align="right"><a href="#top">Up</a></div> |
|
130 <hr /> |
|
131 </body></html> |