eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusMonitorThread.html

changeset 7370
5fb53279f2df
parent 7273
391d6b7b1eff
child 7989
a21d673a8f99
equal deleted inserted replaced
7369:dbeeed55df08 7370:5fb53279f2df
126 <b>__initClient</b>(<i></i>) 126 <b>__initClient</b>(<i></i>)
127 127
128 <p> 128 <p>
129 Private method to initialize the Mercurial client. 129 Private method to initialize the Mercurial client.
130 </p> 130 </p>
131 <dl>
132 <dt>Returns:</dt>
133 <dd>
134 tuple containing an OK flag and potentially an error message
135 </dd>
136 </dl>
137 <dl>
138 <dt>Return Type:</dt>
139 <dd>
140 tuple of (bool, str)
141 </dd>
142 </dl>
131 <a NAME="HgStatusMonitorThread._getInfo" ID="HgStatusMonitorThread._getInfo"></a> 143 <a NAME="HgStatusMonitorThread._getInfo" ID="HgStatusMonitorThread._getInfo"></a>
132 <h4>HgStatusMonitorThread._getInfo</h4> 144 <h4>HgStatusMonitorThread._getInfo</h4>
133 <b>_getInfo</b>(<i></i>) 145 <b>_getInfo</b>(<i></i>)
134 146
135 <p> 147 <p>
136 Protected method implementing the real info action. 148 Protected method implementing the real info action.
137 </p> 149 </p>
138 <p>
139 This method should be overridden and create a short info message to be
140 shown in the main window status bar right next to the status indicator.
141 </p>
142 <dl> 150 <dl>
143 <dt>Returns:</dt> 151 <dt>Returns:</dt>
144 <dd> 152 <dd>
145 short info message 153 short info message
146 </dd> 154 </dd>
157 165
158 <p> 166 <p>
159 Protected method implementing the monitoring action. 167 Protected method implementing the monitoring action.
160 </p> 168 </p>
161 <p> 169 <p>
162 This method populates the statusList member variable 170 This method populates the statusList member variable with a list of
163 with a list of strings giving the status in the first column and the 171 strings giving the status in the first column and the path relative
164 path relative to the project directory starting with the third column. 172 to the project directory starting with the third column. The allowed
165 The allowed status flags are: 173 status flags are:
166 <ul> 174 <ul>
167 <li>"A" path was added but not yet comitted</li> 175 <li>"A" path was added but not yet comitted</li>
168 <li>"M" path has local changes</li> 176 <li>"M" path has local changes</li>
169 <li>"O" path was removed</li> 177 <li>"O" path was removed</li>
170 <li>"R" path was deleted and then re-added</li> 178 <li>"R" path was deleted and then re-added</li>
174 </ul> 182 </ul>
175 </p> 183 </p>
176 <dl> 184 <dl>
177 <dt>Returns:</dt> 185 <dt>Returns:</dt>
178 <dd> 186 <dd>
179 tuple of flag indicating successful operation (boolean) and 187 tuple of flag indicating successful operation and a status
180 a status message in case of non successful operation (string) 188 message in case of non successful operation
189 </dd>
190 </dl>
191 <dl>
192 <dt>Return Type:</dt>
193 <dd>
194 tuple of (bool, str)
181 </dd> 195 </dd>
182 </dl> 196 </dl>
183 <a NAME="HgStatusMonitorThread._shutdown" ID="HgStatusMonitorThread._shutdown"></a> 197 <a NAME="HgStatusMonitorThread._shutdown" ID="HgStatusMonitorThread._shutdown"></a>
184 <h4>HgStatusMonitorThread._shutdown</h4> 198 <h4>HgStatusMonitorThread._shutdown</h4>
185 <b>_shutdown</b>(<i></i>) 199 <b>_shutdown</b>(<i></i>)

eric ide

mercurial