Documentation/Source/eric5.Plugins.VcsPlugins.vcsSubversion.SvnStatusMonitorThread.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 110
c9a969db1469
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Plugins.VcsPlugins.vcsSubversion.SvnStatusMonitorThread</h1> 23 <h1>eric5.Plugins.VcsPlugins.vcsSubversion.SvnStatusMonitorThread</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100; &#99;&#108;&#97;&#115;&#115; &#102;&#111;&#114; &#83;&#117;&#98;v&#101;&#114;&#115;&#105;&#111;&#110;. 25 Module implementing the VCS status monitor thread class for Subversion.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#SvnStatusMonitorThread">SvnStatusMonitorThread</a></td> 34 <td><a href="#SvnStatusMonitorThread">SvnStatusMonitorThread</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100; &#99;&#108;&#97;&#115;&#115; &#102;&#111;&#114; &#83;&#117;&#98;v&#101;&#114;&#115;&#105;&#111;&#110;.</td> 35 <td>Class implementing the VCS status monitor thread class for Subversion.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="SvnStatusMonitorThread" ID="SvnStatusMonitorThread"></a> 43 <a NAME="SvnStatusMonitorThread" ID="SvnStatusMonitorThread"></a>
44 <h2>SvnStatusMonitorThread</h2> 44 <h2>SvnStatusMonitorThread</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100; &#99;&#108;&#97;&#115;&#115; &#102;&#111;&#114; &#83;&#117;&#98;v&#101;&#114;&#115;&#105;&#111;&#110;. 46 Class implementing the VCS status monitor thread class for Subversion.
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 VcsStatusMonitorThread 49 VcsStatusMonitorThread
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
53 </table> 53 </table>
54 <h3>Methods</h3> 54 <h3>Methods</h3>
55 <table> 55 <table>
56 <tr> 56 <tr>
57 <td><a href="#SvnStatusMonitorThread.__init__">SvnStatusMonitorThread</a></td> 57 <td><a href="#SvnStatusMonitorThread.__init__">SvnStatusMonitorThread</a></td>
58 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 58 <td>Constructor</td>
59 </tr><tr> 59 </tr><tr>
60 <td><a href="#SvnStatusMonitorThread._performMonitor">_performMonitor</a></td> 60 <td><a href="#SvnStatusMonitorThread._performMonitor">_performMonitor</a></td>
61 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114;&#105;&#110;&#103; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 61 <td>Protected method implementing the monitoring action.</td>
62 </tr> 62 </tr>
63 </table> 63 </table>
64 <a NAME="SvnStatusMonitorThread.__init__" ID="SvnStatusMonitorThread.__init__"></a> 64 <a NAME="SvnStatusMonitorThread.__init__" ID="SvnStatusMonitorThread.__init__"></a>
65 <h4>SvnStatusMonitorThread (Constructor)</h4> 65 <h4>SvnStatusMonitorThread (Constructor)</h4>
66 <b>SvnStatusMonitorThread</b>(<i>interval, projectDir, vcs, parent = None</i>) 66 <b>SvnStatusMonitorThread</b>(<i>interval, projectDir, vcs, parent = None</i>)
67 <p> 67 <p>
68 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 68 Constructor
69 </p><dl> 69 </p><dl>
70 <dt><i>interval</i></dt> 70 <dt><i>interval</i></dt>
71 <dd> 71 <dd>
72 &#110;&#101;w &#105;&#110;&#116;&#101;&#114;v&#97;&#108; &#105;&#110; &#115;&#101;&#99;&#111;&#110;&#100;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 72 new interval in seconds (integer)
73 </dd><dt><i>projectDir</i></dt> 73 </dd><dt><i>projectDir</i></dt>
74 <dd> 74 <dd>
75 &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#116;&#111; &#109;&#111;&#110;&#105;&#116;&#111;&#114; (&#115;&#116;&#114;&#105;&#110;&#103;) 75 project directory to monitor (string)
76 </dd><dt><i>vcs</i></dt> 76 </dd><dt><i>vcs</i></dt>
77 <dd> 77 <dd>
78 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; v&#101;&#114;&#115;&#105;&#111;&#110; &#99;&#111;&#110;&#116;&#114;&#111;&#108; &#111;&#98;&#106;&#101;&#99;&#116; 78 reference to the version control object
79 </dd><dt><i>parent</i></dt> 79 </dd><dt><i>parent</i></dt>
80 <dd> 80 <dd>
81 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;) 81 reference to the parent object (QObject)
82 </dd> 82 </dd>
83 </dl><a NAME="SvnStatusMonitorThread._performMonitor" ID="SvnStatusMonitorThread._performMonitor"></a> 83 </dl><a NAME="SvnStatusMonitorThread._performMonitor" ID="SvnStatusMonitorThread._performMonitor"></a>
84 <h4>SvnStatusMonitorThread._performMonitor</h4> 84 <h4>SvnStatusMonitorThread._performMonitor</h4>
85 <b>_performMonitor</b>(<i></i>) 85 <b>_performMonitor</b>(<i></i>)
86 <p> 86 <p>
87 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114;&#105;&#110;&#103; &#97;&#99;&#116;&#105;&#111;&#110;. 87 Protected method implementing the monitoring action.
88 </p><p> 88 </p><p>
89 &#84;&#104;&#105;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#112;&#111;&#112;&#117;&#108;&#97;&#116;&#101;&#115; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115;&#76;&#105;&#115;&#116; &#109;&#101;&#109;&#98;&#101;&#114; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; 89 This method populates the statusList member variable
90 w&#105;&#116;&#104; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115; &#103;&#105;v&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#105;&#110; &#116;&#104;&#101; &#102;&#105;&#114;&#115;&#116; &#99;&#111;&#108;&#117;&#109;&#110; &#97;&#110;&#100; &#116;&#104;&#101; 90 with a list of strings giving the status in the first column and the
91 &#112;&#97;&#116;&#104; &#114;&#101;&#108;&#97;&#116;&#105;v&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#115;&#116;&#97;&#114;&#116;&#105;&#110;&#103; w&#105;&#116;&#104; &#116;&#104;&#101; &#116;&#104;&#105;&#114;&#100; &#99;&#111;&#108;&#117;&#109;&#110;. 91 path relative to the project directory starting with the third column.
92 &#84;&#104;&#101; &#97;&#108;&#108;&#111;w&#101;&#100; &#115;&#116;&#97;&#116;&#117;&#115; &#102;&#108;&#97;&#103;&#115; &#97;&#114;&#101;&#58; 92 The allowed status flags are:
93 &#60;&#117;&#108;&#62; 93 <ul>
94 &#60;&#108;&#105;&#62;"&#65;" &#112;&#97;&#116;&#104; w&#97;&#115; &#97;&#100;&#100;&#101;&#100; &#98;&#117;&#116; &#110;&#111;&#116; y&#101;&#116; &#99;&#111;&#109;&#105;&#116;&#116;&#101;&#100;&#60;/&#108;&#105;&#62; 94 <li>"A" path was added but not yet comitted</li>
95 &#60;&#108;&#105;&#62;"&#77;" &#112;&#97;&#116;&#104; &#104;&#97;&#115; &#108;&#111;&#99;&#97;&#108; &#99;&#104;&#97;&#110;&#103;&#101;&#115;&#60;/&#108;&#105;&#62; 95 <li>"M" path has local changes</li>
96 &#60;&#108;&#105;&#62;"&#82;" &#112;&#97;&#116;&#104; w&#97;&#115; &#100;&#101;&#108;&#101;&#116;&#101;&#100; &#97;&#110;&#100; &#116;&#104;&#101;&#110; &#114;&#101;-&#97;&#100;&#100;&#101;&#100;&#60;/&#108;&#105;&#62; 96 <li>"R" path was deleted and then re-added</li>
97 &#60;&#108;&#105;&#62;"&#85;" &#112;&#97;&#116;&#104; &#110;&#101;&#101;&#100;&#115; &#97;&#110; &#117;&#112;&#100;&#97;&#116;&#101;&#60;/&#108;&#105;&#62; 97 <li>"U" path needs an update</li>
98 &#60;&#108;&#105;&#62;"&#90;" &#112;&#97;&#116;&#104; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#115; &#97; &#99;&#111;&#110;&#102;&#108;&#105;&#99;&#116;&#60;/&#108;&#105;&#62; 98 <li>"Z" path contains a conflict</li>
99 &#60;&#108;&#105;&#62;" " &#112;&#97;&#116;&#104; &#105;&#115; &#98;&#97;&#99;&#107; &#97;&#116; &#110;&#111;&#114;&#109;&#97;&#108;&#60;/&#108;&#105;&#62; 99 <li>" " path is back at normal</li>
100 &#60;/&#117;&#108;&#62; 100 </ul>
101 </p><dl> 101 </p><dl>
102 <dt>Returns:</dt> 102 <dt>Returns:</dt>
103 <dd> 103 <dd>
104 &#116;&#117;&#112;&#108;&#101; &#111;&#102; &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115;&#102;&#117;&#108; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) &#97;&#110;&#100; 104 tuple of flag indicating successful operation (boolean) and
105 &#97; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#101;&#115;&#115;&#97;&#103;&#101; &#105;&#110; &#99;&#97;&#115;&#101; &#111;&#102; &#110;&#111;&#110; &#115;&#117;&#99;&#99;&#101;&#115;&#115;&#102;&#117;&#108; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#81;&#83;&#116;&#114;&#105;&#110;&#103;) 105 a status message in case of non successful operation (QString)
106 </dd> 106 </dd>
107 </dl> 107 </dl>
108 <div align="right"><a href="#top">Up</a></div> 108 <div align="right"><a href="#top">Up</a></div>
109 <hr /> 109 <hr />
110 </body></html> 110 </body></html>

eric ide

mercurial