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