|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Plugins.VcsPlugins.vcsSubversion.SvnStatusMonitorThread</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.Plugins.VcsPlugins.vcsSubversion.SvnStatusMonitorThread</h1> |
|
12 <p> |
|
13 Module implementing the VCS status monitor thread class for Subversion. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#SvnStatusMonitorThread">SvnStatusMonitorThread</a></td> |
|
23 <td>Class implementing the VCS status monitor thread class for Subversion.</td> |
|
24 </tr> |
|
25 </table> |
|
26 <h3>Functions</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <hr /><hr /> |
|
31 <a NAME="SvnStatusMonitorThread" ID="SvnStatusMonitorThread"></a> |
|
32 <h2>SvnStatusMonitorThread</h2> |
|
33 <p> |
|
34 Class implementing the VCS status monitor thread class for Subversion. |
|
35 </p> |
|
36 <h3>Derived from</h3> |
|
37 VcsStatusMonitorThread |
|
38 <h3>Class Attributes</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <h3>Methods</h3> |
|
43 <table> |
|
44 <tr> |
|
45 <td><a href="#SvnStatusMonitorThread.__init__">SvnStatusMonitorThread</a></td> |
|
46 <td>Constructor</td> |
|
47 </tr><tr> |
|
48 <td><a href="#SvnStatusMonitorThread._performMonitor">_performMonitor</a></td> |
|
49 <td>Protected method implementing the monitoring action.</td> |
|
50 </tr> |
|
51 </table> |
|
52 <a NAME="SvnStatusMonitorThread.__init__" ID="SvnStatusMonitorThread.__init__"></a> |
|
53 <h4>SvnStatusMonitorThread (Constructor)</h4> |
|
54 <b>SvnStatusMonitorThread</b>(<i>interval, projectDir, vcs, parent = None</i>) |
|
55 <p> |
|
56 Constructor |
|
57 </p><dl> |
|
58 <dt><i>interval</i></dt> |
|
59 <dd> |
|
60 new interval in seconds (integer) |
|
61 </dd><dt><i>projectDir</i></dt> |
|
62 <dd> |
|
63 project directory to monitor (string) |
|
64 </dd><dt><i>vcs</i></dt> |
|
65 <dd> |
|
66 reference to the version control object |
|
67 </dd><dt><i>parent</i></dt> |
|
68 <dd> |
|
69 reference to the parent object (QObject) |
|
70 </dd> |
|
71 </dl><a NAME="SvnStatusMonitorThread._performMonitor" ID="SvnStatusMonitorThread._performMonitor"></a> |
|
72 <h4>SvnStatusMonitorThread._performMonitor</h4> |
|
73 <b>_performMonitor</b>(<i></i>) |
|
74 <p> |
|
75 Protected method implementing the monitoring action. |
|
76 </p><p> |
|
77 This method populates the statusList member variable |
|
78 with a list of strings giving the status in the first column and the |
|
79 path relative to the project directory starting with the third column. |
|
80 The allowed status flags are: |
|
81 <ul> |
|
82 <li>"A" path was added but not yet comitted</li> |
|
83 <li>"M" path has local changes</li> |
|
84 <li>"R" path was deleted and then re-added</li> |
|
85 <li>"U" path needs an update</li> |
|
86 <li>"Z" path contains a conflict</li> |
|
87 <li>" " path is back at normal</li> |
|
88 </ul> |
|
89 </p><dl> |
|
90 <dt>Returns:</dt> |
|
91 <dd> |
|
92 tuple of flag indicating successful operation (boolean) and |
|
93 a status message in case of non successful operation (QString) |
|
94 </dd> |
|
95 </dl> |
|
96 <div align="right"><a href="#top">Up</a></div> |
|
97 <hr /> |
|
98 </body></html> |