eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.subversion.html

changeset 6942
2602857055c5
parent 5452
9f89364d9ffd
child 7168
c1f97706c905
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Plugins.VcsPlugins.vcsSubversion.subversion</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><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsSubversion.subversion</h1>
23 <p>
24 Module implementing the version control systems interface to Subversion.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#Subversion">Subversion</a></td>
34 <td>Class implementing the version control systems interface to Subversion.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="Subversion" ID="Subversion"></a>
43 <h2>Subversion</h2>
44 <p>
45 Class implementing the version control systems interface to Subversion.
46 </p><h3>Signals</h3>
47 <dl>
48 <dt>committed()</dt>
49 <dd>
50 emitted after the commit action has completed
51 </dd>
52 </dl>
53 <h3>Derived from</h3>
54 VersionControl
55 <h3>Class Attributes</h3>
56 <table>
57 <tr><td>None</td></tr>
58 </table>
59 <h3>Class Methods</h3>
60 <table>
61 <tr><td>None</td></tr>
62 </table>
63 <h3>Methods</h3>
64 <table>
65 <tr>
66 <td><a href="#Subversion.__init__">Subversion</a></td>
67 <td>Constructor</td>
68 </tr><tr>
69 <td><a href="#Subversion.__svnGetFileForRevision">__svnGetFileForRevision</a></td>
70 <td>Private method to get a file for a specific revision from the repository.</td>
71 </tr><tr>
72 <td><a href="#Subversion.__svnURL">__svnURL</a></td>
73 <td>Private method to format a url for subversion.</td>
74 </tr><tr>
75 <td><a href="#Subversion.__vcsAllRegisteredStates_wc">__vcsAllRegisteredStates_wc</a></td>
76 <td>Private method used to get the registered states of a number of files in the VCS.</td>
77 </tr><tr>
78 <td><a href="#Subversion.__vcsAllRegisteredStates_wcng">__vcsAllRegisteredStates_wcng</a></td>
79 <td>Private method used to get the registered states of a number of files in the VCS.</td>
80 </tr><tr>
81 <td><a href="#Subversion.__vcsCommit_Step2">__vcsCommit_Step2</a></td>
82 <td>Private slot performing the second step of the commit action.</td>
83 </tr><tr>
84 <td><a href="#Subversion.__vcsRegisteredState_wc">__vcsRegisteredState_wc</a></td>
85 <td>Private method used to get the registered state of a file in the VCS.</td>
86 </tr><tr>
87 <td><a href="#Subversion.__vcsRegisteredState_wcng">__vcsRegisteredState_wcng</a></td>
88 <td>Private method used to get the registered state of a file in the vcs.</td>
89 </tr><tr>
90 <td><a href="#Subversion._createStatusMonitorThread">_createStatusMonitorThread</a></td>
91 <td>Protected method to create an instance of the VCS status monitor thread.</td>
92 </tr><tr>
93 <td><a href="#Subversion.clearStatusCache">clearStatusCache</a></td>
94 <td>Public method to clear the status cache.</td>
95 </tr><tr>
96 <td><a href="#Subversion.getPlugin">getPlugin</a></td>
97 <td>Public method to get a reference to the plugin object.</td>
98 </tr><tr>
99 <td><a href="#Subversion.svnAddToChangelist">svnAddToChangelist</a></td>
100 <td>Public method to add a file or directory to a changelist.</td>
101 </tr><tr>
102 <td><a href="#Subversion.svnBlame">svnBlame</a></td>
103 <td>Public method to show the output of the svn blame command.</td>
104 </tr><tr>
105 <td><a href="#Subversion.svnCopy">svnCopy</a></td>
106 <td>Public method used to copy a file/directory.</td>
107 </tr><tr>
108 <td><a href="#Subversion.svnDelProp">svnDelProp</a></td>
109 <td>Public method used to delete a property of a file/directory.</td>
110 </tr><tr>
111 <td><a href="#Subversion.svnExtendedDiff">svnExtendedDiff</a></td>
112 <td>Public method used to view the difference of a file/directory to the Subversion repository.</td>
113 </tr><tr>
114 <td><a href="#Subversion.svnGetChangelists">svnGetChangelists</a></td>
115 <td>Public method to get a list of all defined change lists.</td>
116 </tr><tr>
117 <td><a href="#Subversion.svnGetReposName">svnGetReposName</a></td>
118 <td>Public method used to retrieve the URL of the subversion repository path.</td>
119 </tr><tr>
120 <td><a href="#Subversion.svnListProps">svnListProps</a></td>
121 <td>Public method used to list the properties of a file/directory.</td>
122 </tr><tr>
123 <td><a href="#Subversion.svnListTagBranch">svnListTagBranch</a></td>
124 <td>Public method used to list the available tags or branches.</td>
125 </tr><tr>
126 <td><a href="#Subversion.svnLock">svnLock</a></td>
127 <td>Public method used to lock a file in the Subversion repository.</td>
128 </tr><tr>
129 <td><a href="#Subversion.svnNormalizeURL">svnNormalizeURL</a></td>
130 <td>Public method to normalize a url for subversion.</td>
131 </tr><tr>
132 <td><a href="#Subversion.svnRelocate">svnRelocate</a></td>
133 <td>Public method to relocate the working copy to a new repository URL.</td>
134 </tr><tr>
135 <td><a href="#Subversion.svnRemoveFromChangelist">svnRemoveFromChangelist</a></td>
136 <td>Public method to remove a file or directory from its changelist.</td>
137 </tr><tr>
138 <td><a href="#Subversion.svnRepoBrowser">svnRepoBrowser</a></td>
139 <td>Public method to open the repository browser.</td>
140 </tr><tr>
141 <td><a href="#Subversion.svnResolve">svnResolve</a></td>
142 <td>Public method used to resolve conflicts of a file/directory.</td>
143 </tr><tr>
144 <td><a href="#Subversion.svnSbsDiff">svnSbsDiff</a></td>
145 <td>Public method used to view the difference of a file to the Mercurial repository side-by-side.</td>
146 </tr><tr>
147 <td><a href="#Subversion.svnSetProp">svnSetProp</a></td>
148 <td>Public method used to add a property to a file/directory.</td>
149 </tr><tr>
150 <td><a href="#Subversion.svnShowChangelists">svnShowChangelists</a></td>
151 <td>Public method used to inspect the change lists defined for the project.</td>
152 </tr><tr>
153 <td><a href="#Subversion.svnUnlock">svnUnlock</a></td>
154 <td>Public method used to unlock a file in the Subversion repository.</td>
155 </tr><tr>
156 <td><a href="#Subversion.svnUpgrade">svnUpgrade</a></td>
157 <td>Public method to upgrade the working copy format.</td>
158 </tr><tr>
159 <td><a href="#Subversion.svnUrlDiff">svnUrlDiff</a></td>
160 <td>Public method used to view the difference of a file/directory of two repository URLs.</td>
161 </tr><tr>
162 <td><a href="#Subversion.vcsAdd">vcsAdd</a></td>
163 <td>Public method used to add a file/directory to the Subversion repository.</td>
164 </tr><tr>
165 <td><a href="#Subversion.vcsAddBinary">vcsAddBinary</a></td>
166 <td>Public method used to add a file/directory in binary mode to the Subversion repository.</td>
167 </tr><tr>
168 <td><a href="#Subversion.vcsAddTree">vcsAddTree</a></td>
169 <td>Public method to add a directory tree rooted at path to the Subversion repository.</td>
170 </tr><tr>
171 <td><a href="#Subversion.vcsAllRegisteredStates">vcsAllRegisteredStates</a></td>
172 <td>Public method used to get the registered states of a number of files in the VCS.</td>
173 </tr><tr>
174 <td><a href="#Subversion.vcsCheckout">vcsCheckout</a></td>
175 <td>Public method used to check the project out of the Subversion repository.</td>
176 </tr><tr>
177 <td><a href="#Subversion.vcsCleanup">vcsCleanup</a></td>
178 <td>Public method used to cleanup the working copy.</td>
179 </tr><tr>
180 <td><a href="#Subversion.vcsCommandLine">vcsCommandLine</a></td>
181 <td>Public method used to execute arbitrary subversion commands.</td>
182 </tr><tr>
183 <td><a href="#Subversion.vcsCommit">vcsCommit</a></td>
184 <td>Public method used to make the change of a file/directory permanent in the Subversion repository.</td>
185 </tr><tr>
186 <td><a href="#Subversion.vcsConvertProject">vcsConvertProject</a></td>
187 <td>Public method to convert an uncontrolled project to a version controlled project.</td>
188 </tr><tr>
189 <td><a href="#Subversion.vcsDiff">vcsDiff</a></td>
190 <td>Public method used to view the difference of a file/directory to the Subversion repository.</td>
191 </tr><tr>
192 <td><a href="#Subversion.vcsExists">vcsExists</a></td>
193 <td>Public method used to test for the presence of the svn executable.</td>
194 </tr><tr>
195 <td><a href="#Subversion.vcsExport">vcsExport</a></td>
196 <td>Public method used to export a directory from the Subversion repository.</td>
197 </tr><tr>
198 <td><a href="#Subversion.vcsGetProjectBrowserHelper">vcsGetProjectBrowserHelper</a></td>
199 <td>Public method to instanciate a helper object for the different project browsers.</td>
200 </tr><tr>
201 <td><a href="#Subversion.vcsGetProjectHelper">vcsGetProjectHelper</a></td>
202 <td>Public method to instanciate a helper object for the project.</td>
203 </tr><tr>
204 <td><a href="#Subversion.vcsImport">vcsImport</a></td>
205 <td>Public method used to import the project into the Subversion repository.</td>
206 </tr><tr>
207 <td><a href="#Subversion.vcsInit">vcsInit</a></td>
208 <td>Public method used to initialize the subversion repository.</td>
209 </tr><tr>
210 <td><a href="#Subversion.vcsInitConfig">vcsInitConfig</a></td>
211 <td>Public method to initialize the VCS configuration.</td>
212 </tr><tr>
213 <td><a href="#Subversion.vcsLogBrowser">vcsLogBrowser</a></td>
214 <td>Public method used to browse the log of a file/directory from the Subversion repository.</td>
215 </tr><tr>
216 <td><a href="#Subversion.vcsMerge">vcsMerge</a></td>
217 <td>Public method used to merge a URL/revision into the local project.</td>
218 </tr><tr>
219 <td><a href="#Subversion.vcsMove">vcsMove</a></td>
220 <td>Public method used to move a file/directory.</td>
221 </tr><tr>
222 <td><a href="#Subversion.vcsName">vcsName</a></td>
223 <td>Public method returning the name of the vcs.</td>
224 </tr><tr>
225 <td><a href="#Subversion.vcsNewProjectOptionsDialog">vcsNewProjectOptionsDialog</a></td>
226 <td>Public method to get a dialog to enter repository info for getting a new project.</td>
227 </tr><tr>
228 <td><a href="#Subversion.vcsOptionsDialog">vcsOptionsDialog</a></td>
229 <td>Public method to get a dialog to enter repository info.</td>
230 </tr><tr>
231 <td><a href="#Subversion.vcsRegisteredState">vcsRegisteredState</a></td>
232 <td>Public method used to get the registered state of a file in the vcs.</td>
233 </tr><tr>
234 <td><a href="#Subversion.vcsRemove">vcsRemove</a></td>
235 <td>Public method used to remove a file/directory from the Subversion repository.</td>
236 </tr><tr>
237 <td><a href="#Subversion.vcsRepositoryInfos">vcsRepositoryInfos</a></td>
238 <td>Public method to retrieve information about the repository.</td>
239 </tr><tr>
240 <td><a href="#Subversion.vcsRevert">vcsRevert</a></td>
241 <td>Public method used to revert changes made to a file/directory.</td>
242 </tr><tr>
243 <td><a href="#Subversion.vcsShutdown">vcsShutdown</a></td>
244 <td>Public method used to shutdown the Subversion interface.</td>
245 </tr><tr>
246 <td><a href="#Subversion.vcsStatus">vcsStatus</a></td>
247 <td>Public method used to view the status of files/directories in the Subversion repository.</td>
248 </tr><tr>
249 <td><a href="#Subversion.vcsSwitch">vcsSwitch</a></td>
250 <td>Public method used to switch a directory to a different tag/branch.</td>
251 </tr><tr>
252 <td><a href="#Subversion.vcsTag">vcsTag</a></td>
253 <td>Public method used to set the tag of a file/directory in the Subversion repository.</td>
254 </tr><tr>
255 <td><a href="#Subversion.vcsUpdate">vcsUpdate</a></td>
256 <td>Public method used to update a file/directory with the Subversion repository.</td>
257 </tr>
258 </table>
259 <h3>Static Methods</h3>
260 <table>
261 <tr><td>None</td></tr>
262 </table>
263 <a NAME="Subversion.__init__" ID="Subversion.__init__"></a>
264 <h4>Subversion (Constructor)</h4>
265 <b>Subversion</b>(<i>plugin, parent=None, name=None</i>)
266 <p>
267 Constructor
268 </p><dl>
269 <dt><i>plugin</i></dt>
270 <dd>
271 reference to the plugin object
272 </dd><dt><i>parent</i></dt>
273 <dd>
274 parent widget (QWidget)
275 </dd><dt><i>name</i></dt>
276 <dd>
277 name of this object (string)
278 </dd>
279 </dl><a NAME="Subversion.__svnGetFileForRevision" ID="Subversion.__svnGetFileForRevision"></a>
280 <h4>Subversion.__svnGetFileForRevision</h4>
281 <b>__svnGetFileForRevision</b>(<i>name, rev=""</i>)
282 <p>
283 Private method to get a file for a specific revision from the
284 repository.
285 </p><dl>
286 <dt><i>name</i></dt>
287 <dd>
288 file name to get from the repository (string)
289 </dd><dt><i>rev=</i></dt>
290 <dd>
291 revision to retrieve (integer or string)
292 </dd>
293 </dl><dl>
294 <dt>Returns:</dt>
295 <dd>
296 contents of the file (string) and an error message (string)
297 </dd>
298 </dl><a NAME="Subversion.__svnURL" ID="Subversion.__svnURL"></a>
299 <h4>Subversion.__svnURL</h4>
300 <b>__svnURL</b>(<i>url</i>)
301 <p>
302 Private method to format a url for subversion.
303 </p><dl>
304 <dt><i>url</i></dt>
305 <dd>
306 unformatted url string (string)
307 </dd>
308 </dl><dl>
309 <dt>Returns:</dt>
310 <dd>
311 properly formated url for subversion (string)
312 </dd>
313 </dl><a NAME="Subversion.__vcsAllRegisteredStates_wc" ID="Subversion.__vcsAllRegisteredStates_wc"></a>
314 <h4>Subversion.__vcsAllRegisteredStates_wc</h4>
315 <b>__vcsAllRegisteredStates_wc</b>(<i>names, dname, shortcut=True</i>)
316 <p>
317 Private method used to get the registered states of a number of files
318 in the VCS.
319 </p><p>
320 This is the variant for subversion installations using the old working
321 copy meta-data format.
322 </p><p>
323 <b>Note:</b> If a shortcut is to be taken, the code will only check,
324 if the named directory has been scanned already. If so, it is assumed,
325 that the states for all files has been populated by the previous run.
326 </p><dl>
327 <dt><i>names</i></dt>
328 <dd>
329 dictionary with all filenames to be checked as keys
330 </dd><dt><i>dname</i></dt>
331 <dd>
332 directory to check in (string)
333 </dd><dt><i>shortcut</i></dt>
334 <dd>
335 flag indicating a shortcut should be taken (boolean)
336 </dd>
337 </dl><dl>
338 <dt>Returns:</dt>
339 <dd>
340 the received dictionary completed with a combination of
341 canBeCommited and canBeAdded or None in order to signal an error
342 </dd>
343 </dl><a NAME="Subversion.__vcsAllRegisteredStates_wcng" ID="Subversion.__vcsAllRegisteredStates_wcng"></a>
344 <h4>Subversion.__vcsAllRegisteredStates_wcng</h4>
345 <b>__vcsAllRegisteredStates_wcng</b>(<i>names, dname, shortcut=True</i>)
346 <p>
347 Private method used to get the registered states of a number of files
348 in the VCS.
349 </p><p>
350 This is the variant for subversion installations using the new working
351 copy meta-data format.
352 </p><p>
353 <b>Note:</b> If a shortcut is to be taken, the code will only check,
354 if the named directory has been scanned already. If so, it is assumed,
355 that the states for all files has been populated by the previous run.
356 </p><dl>
357 <dt><i>names</i></dt>
358 <dd>
359 dictionary with all filenames to be checked as keys
360 </dd><dt><i>dname</i></dt>
361 <dd>
362 directory to check in (string)
363 </dd><dt><i>shortcut</i></dt>
364 <dd>
365 flag indicating a shortcut should be taken (boolean)
366 </dd>
367 </dl><dl>
368 <dt>Returns:</dt>
369 <dd>
370 the received dictionary completed with a combination of
371 canBeCommited and canBeAdded or None in order to signal an error
372 </dd>
373 </dl><a NAME="Subversion.__vcsCommit_Step2" ID="Subversion.__vcsCommit_Step2"></a>
374 <h4>Subversion.__vcsCommit_Step2</h4>
375 <b>__vcsCommit_Step2</b>(<i></i>)
376 <p>
377 Private slot performing the second step of the commit action.
378 </p><a NAME="Subversion.__vcsRegisteredState_wc" ID="Subversion.__vcsRegisteredState_wc"></a>
379 <h4>Subversion.__vcsRegisteredState_wc</h4>
380 <b>__vcsRegisteredState_wc</b>(<i>name</i>)
381 <p>
382 Private method used to get the registered state of a file in the VCS.
383 </p><p>
384 This is the variant for subversion installations using the old working
385 copy meta-data format.
386 </p><dl>
387 <dt><i>name</i></dt>
388 <dd>
389 filename to check (string)
390 </dd>
391 </dl><dl>
392 <dt>Returns:</dt>
393 <dd>
394 a combination of canBeCommited and canBeAdded
395 </dd>
396 </dl><a NAME="Subversion.__vcsRegisteredState_wcng" ID="Subversion.__vcsRegisteredState_wcng"></a>
397 <h4>Subversion.__vcsRegisteredState_wcng</h4>
398 <b>__vcsRegisteredState_wcng</b>(<i>name</i>)
399 <p>
400 Private method used to get the registered state of a file in the vcs.
401 </p><p>
402 This is the variant for subversion installations using the new
403 working copy meta-data format.
404 </p><dl>
405 <dt><i>name</i></dt>
406 <dd>
407 filename to check (string)
408 </dd>
409 </dl><dl>
410 <dt>Returns:</dt>
411 <dd>
412 a combination of canBeCommited and canBeAdded
413 </dd>
414 </dl><a NAME="Subversion._createStatusMonitorThread" ID="Subversion._createStatusMonitorThread"></a>
415 <h4>Subversion._createStatusMonitorThread</h4>
416 <b>_createStatusMonitorThread</b>(<i>interval, project</i>)
417 <p>
418 Protected method to create an instance of the VCS status monitor
419 thread.
420 </p><dl>
421 <dt><i>interval</i></dt>
422 <dd>
423 check interval for the monitor thread in seconds
424 (integer)
425 </dd><dt><i>project</i></dt>
426 <dd>
427 reference to the project object
428 </dd>
429 </dl><dl>
430 <dt>Returns:</dt>
431 <dd>
432 reference to the monitor thread (QThread)
433 </dd>
434 </dl><a NAME="Subversion.clearStatusCache" ID="Subversion.clearStatusCache"></a>
435 <h4>Subversion.clearStatusCache</h4>
436 <b>clearStatusCache</b>(<i></i>)
437 <p>
438 Public method to clear the status cache.
439 </p><a NAME="Subversion.getPlugin" ID="Subversion.getPlugin"></a>
440 <h4>Subversion.getPlugin</h4>
441 <b>getPlugin</b>(<i></i>)
442 <p>
443 Public method to get a reference to the plugin object.
444 </p><dl>
445 <dt>Returns:</dt>
446 <dd>
447 reference to the plugin object (VcsSubversionPlugin)
448 </dd>
449 </dl><a NAME="Subversion.svnAddToChangelist" ID="Subversion.svnAddToChangelist"></a>
450 <h4>Subversion.svnAddToChangelist</h4>
451 <b>svnAddToChangelist</b>(<i>names</i>)
452 <p>
453 Public method to add a file or directory to a changelist.
454 </p><p>
455 Note: Directories will be added recursively.
456 </p><dl>
457 <dt><i>names</i></dt>
458 <dd>
459 name or list of names of file or directory to add
460 (string)
461 </dd>
462 </dl><a NAME="Subversion.svnBlame" ID="Subversion.svnBlame"></a>
463 <h4>Subversion.svnBlame</h4>
464 <b>svnBlame</b>(<i>name</i>)
465 <p>
466 Public method to show the output of the svn blame command.
467 </p><dl>
468 <dt><i>name</i></dt>
469 <dd>
470 file name to show the blame for (string)
471 </dd>
472 </dl><a NAME="Subversion.svnCopy" ID="Subversion.svnCopy"></a>
473 <h4>Subversion.svnCopy</h4>
474 <b>svnCopy</b>(<i>name, project</i>)
475 <p>
476 Public method used to copy a file/directory.
477 </p><dl>
478 <dt><i>name</i></dt>
479 <dd>
480 file/directory name to be copied (string)
481 </dd><dt><i>project</i></dt>
482 <dd>
483 reference to the project object
484 </dd>
485 </dl><dl>
486 <dt>Returns:</dt>
487 <dd>
488 flag indicating successfull operation (boolean)
489 </dd>
490 </dl><a NAME="Subversion.svnDelProp" ID="Subversion.svnDelProp"></a>
491 <h4>Subversion.svnDelProp</h4>
492 <b>svnDelProp</b>(<i>name, recursive=False</i>)
493 <p>
494 Public method used to delete a property of a file/directory.
495 </p><dl>
496 <dt><i>name</i></dt>
497 <dd>
498 file/directory name (string or list of strings)
499 </dd><dt><i>recursive</i></dt>
500 <dd>
501 flag indicating a recursive list is requested
502 </dd>
503 </dl><a NAME="Subversion.svnExtendedDiff" ID="Subversion.svnExtendedDiff"></a>
504 <h4>Subversion.svnExtendedDiff</h4>
505 <b>svnExtendedDiff</b>(<i>name</i>)
506 <p>
507 Public method used to view the difference of a file/directory to the
508 Subversion repository.
509 </p><p>
510 If name is a directory and is the project directory, all project files
511 are saved first. If name is a file (or list of files), which is/are
512 being edited and has unsaved modification, they can be saved or the
513 operation may be aborted.
514 </p><p>
515 This method gives the chance to enter the revisions to be compared.
516 </p><dl>
517 <dt><i>name</i></dt>
518 <dd>
519 file/directory name to be diffed (string)
520 </dd>
521 </dl><a NAME="Subversion.svnGetChangelists" ID="Subversion.svnGetChangelists"></a>
522 <h4>Subversion.svnGetChangelists</h4>
523 <b>svnGetChangelists</b>(<i></i>)
524 <p>
525 Public method to get a list of all defined change lists.
526 </p><dl>
527 <dt>Returns:</dt>
528 <dd>
529 list of defined change list names (list of strings)
530 </dd>
531 </dl><a NAME="Subversion.svnGetReposName" ID="Subversion.svnGetReposName"></a>
532 <h4>Subversion.svnGetReposName</h4>
533 <b>svnGetReposName</b>(<i>path</i>)
534 <p>
535 Public method used to retrieve the URL of the subversion repository
536 path.
537 </p><dl>
538 <dt><i>path</i></dt>
539 <dd>
540 local path to get the svn repository path for (string)
541 </dd>
542 </dl><dl>
543 <dt>Returns:</dt>
544 <dd>
545 string with the repository path URL
546 </dd>
547 </dl><a NAME="Subversion.svnListProps" ID="Subversion.svnListProps"></a>
548 <h4>Subversion.svnListProps</h4>
549 <b>svnListProps</b>(<i>name, recursive=False</i>)
550 <p>
551 Public method used to list the properties of a file/directory.
552 </p><dl>
553 <dt><i>name</i></dt>
554 <dd>
555 file/directory name (string or list of strings)
556 </dd><dt><i>recursive</i></dt>
557 <dd>
558 flag indicating a recursive list is requested
559 </dd>
560 </dl><a NAME="Subversion.svnListTagBranch" ID="Subversion.svnListTagBranch"></a>
561 <h4>Subversion.svnListTagBranch</h4>
562 <b>svnListTagBranch</b>(<i>path, tags=True</i>)
563 <p>
564 Public method used to list the available tags or branches.
565 </p><dl>
566 <dt><i>path</i></dt>
567 <dd>
568 directory name of the project (string)
569 </dd><dt><i>tags</i></dt>
570 <dd>
571 flag indicating listing of branches or tags
572 (False = branches, True = tags)
573 </dd>
574 </dl><a NAME="Subversion.svnLock" ID="Subversion.svnLock"></a>
575 <h4>Subversion.svnLock</h4>
576 <b>svnLock</b>(<i>name, stealIt=False, parent=None</i>)
577 <p>
578 Public method used to lock a file in the Subversion repository.
579 </p><dl>
580 <dt><i>name</i></dt>
581 <dd>
582 file/directory name to be locked (string or list of
583 strings)
584 </dd><dt><i>stealIt</i></dt>
585 <dd>
586 flag indicating a forced operation (boolean)
587 </dd><dt><i>parent</i></dt>
588 <dd>
589 reference to the parent object of the subversion dialog
590 (QWidget)
591 </dd>
592 </dl><a NAME="Subversion.svnNormalizeURL" ID="Subversion.svnNormalizeURL"></a>
593 <h4>Subversion.svnNormalizeURL</h4>
594 <b>svnNormalizeURL</b>(<i>url</i>)
595 <p>
596 Public method to normalize a url for subversion.
597 </p><dl>
598 <dt><i>url</i></dt>
599 <dd>
600 url string (string)
601 </dd>
602 </dl><dl>
603 <dt>Returns:</dt>
604 <dd>
605 properly normalized url for subversion (string)
606 </dd>
607 </dl><a NAME="Subversion.svnRelocate" ID="Subversion.svnRelocate"></a>
608 <h4>Subversion.svnRelocate</h4>
609 <b>svnRelocate</b>(<i>projectPath</i>)
610 <p>
611 Public method to relocate the working copy to a new repository URL.
612 </p><dl>
613 <dt><i>projectPath</i></dt>
614 <dd>
615 path name of the project (string)
616 </dd>
617 </dl><a NAME="Subversion.svnRemoveFromChangelist" ID="Subversion.svnRemoveFromChangelist"></a>
618 <h4>Subversion.svnRemoveFromChangelist</h4>
619 <b>svnRemoveFromChangelist</b>(<i>names</i>)
620 <p>
621 Public method to remove a file or directory from its changelist.
622 </p><p>
623 Note: Directories will be removed recursively.
624 </p><dl>
625 <dt><i>names</i></dt>
626 <dd>
627 name or list of names of file or directory to remove
628 (string)
629 </dd>
630 </dl><a NAME="Subversion.svnRepoBrowser" ID="Subversion.svnRepoBrowser"></a>
631 <h4>Subversion.svnRepoBrowser</h4>
632 <b>svnRepoBrowser</b>(<i>projectPath=None</i>)
633 <p>
634 Public method to open the repository browser.
635 </p><dl>
636 <dt><i>projectPath</i></dt>
637 <dd>
638 path name of the project (string)
639 </dd>
640 </dl><a NAME="Subversion.svnResolve" ID="Subversion.svnResolve"></a>
641 <h4>Subversion.svnResolve</h4>
642 <b>svnResolve</b>(<i>name</i>)
643 <p>
644 Public method used to resolve conflicts of a file/directory.
645 </p><dl>
646 <dt><i>name</i></dt>
647 <dd>
648 file/directory name to be resolved (string)
649 </dd>
650 </dl><a NAME="Subversion.svnSbsDiff" ID="Subversion.svnSbsDiff"></a>
651 <h4>Subversion.svnSbsDiff</h4>
652 <b>svnSbsDiff</b>(<i>name, extended=False, revisions=None</i>)
653 <p>
654 Public method used to view the difference of a file to the Mercurial
655 repository side-by-side.
656 </p><dl>
657 <dt><i>name</i></dt>
658 <dd>
659 file name to be diffed (string)
660 </dd><dt><i>extended=</i></dt>
661 <dd>
662 flag indicating the extended variant (boolean)
663 </dd><dt><i>revisions=</i></dt>
664 <dd>
665 tuple of two revisions (tuple of strings)
666 </dd>
667 </dl><dl>
668 <dt>Raises <b>ValueError</b>:</dt>
669 <dd>
670 raised to indicate an illegal name parameter type
671 </dd>
672 </dl><a NAME="Subversion.svnSetProp" ID="Subversion.svnSetProp"></a>
673 <h4>Subversion.svnSetProp</h4>
674 <b>svnSetProp</b>(<i>name, recursive=False</i>)
675 <p>
676 Public method used to add a property to a file/directory.
677 </p><dl>
678 <dt><i>name</i></dt>
679 <dd>
680 file/directory name (string or list of strings)
681 </dd><dt><i>recursive</i></dt>
682 <dd>
683 flag indicating a recursive list is requested
684 </dd>
685 </dl><a NAME="Subversion.svnShowChangelists" ID="Subversion.svnShowChangelists"></a>
686 <h4>Subversion.svnShowChangelists</h4>
687 <b>svnShowChangelists</b>(<i>path</i>)
688 <p>
689 Public method used to inspect the change lists defined for the project.
690 </p><dl>
691 <dt><i>path</i></dt>
692 <dd>
693 directory name to show change lists for (string)
694 </dd>
695 </dl><a NAME="Subversion.svnUnlock" ID="Subversion.svnUnlock"></a>
696 <h4>Subversion.svnUnlock</h4>
697 <b>svnUnlock</b>(<i>name, breakIt=False, parent=None</i>)
698 <p>
699 Public method used to unlock a file in the Subversion repository.
700 </p><dl>
701 <dt><i>name</i></dt>
702 <dd>
703 file/directory name to be unlocked (string or list of
704 strings)
705 </dd><dt><i>breakIt</i></dt>
706 <dd>
707 flag indicating a forced operation (boolean)
708 </dd><dt><i>parent</i></dt>
709 <dd>
710 reference to the parent object of the subversion dialog
711 (QWidget)
712 </dd>
713 </dl><a NAME="Subversion.svnUpgrade" ID="Subversion.svnUpgrade"></a>
714 <h4>Subversion.svnUpgrade</h4>
715 <b>svnUpgrade</b>(<i>path</i>)
716 <p>
717 Public method to upgrade the working copy format.
718 </p><dl>
719 <dt><i>path</i></dt>
720 <dd>
721 directory name to show change lists for (string)
722 </dd>
723 </dl><a NAME="Subversion.svnUrlDiff" ID="Subversion.svnUrlDiff"></a>
724 <h4>Subversion.svnUrlDiff</h4>
725 <b>svnUrlDiff</b>(<i>name</i>)
726 <p>
727 Public method used to view the difference of a file/directory of two
728 repository URLs.
729 </p><p>
730 If name is a directory and is the project directory, all project files
731 are saved first. If name is a file (or list of files), which is/are
732 being edited and has unsaved modification, they can be saved or the
733 operation may be aborted.
734 </p><p>
735 This method gives the chance to enter the revisions to be compared.
736 </p><dl>
737 <dt><i>name</i></dt>
738 <dd>
739 file/directory name to be diffed (string)
740 </dd>
741 </dl><a NAME="Subversion.vcsAdd" ID="Subversion.vcsAdd"></a>
742 <h4>Subversion.vcsAdd</h4>
743 <b>vcsAdd</b>(<i>name, isDir=False, noDialog=False</i>)
744 <p>
745 Public method used to add a file/directory to the Subversion
746 repository.
747 </p><dl>
748 <dt><i>name</i></dt>
749 <dd>
750 file/directory name to be added (string)
751 </dd><dt><i>isDir</i></dt>
752 <dd>
753 flag indicating name is a directory (boolean)
754 </dd><dt><i>noDialog</i></dt>
755 <dd>
756 flag indicating quiet operations
757 </dd>
758 </dl><a NAME="Subversion.vcsAddBinary" ID="Subversion.vcsAddBinary"></a>
759 <h4>Subversion.vcsAddBinary</h4>
760 <b>vcsAddBinary</b>(<i>name, isDir=False</i>)
761 <p>
762 Public method used to add a file/directory in binary mode to the
763 Subversion repository.
764 </p><dl>
765 <dt><i>name</i></dt>
766 <dd>
767 file/directory name to be added (string)
768 </dd><dt><i>isDir</i></dt>
769 <dd>
770 flag indicating name is a directory (boolean)
771 </dd>
772 </dl><a NAME="Subversion.vcsAddTree" ID="Subversion.vcsAddTree"></a>
773 <h4>Subversion.vcsAddTree</h4>
774 <b>vcsAddTree</b>(<i>path</i>)
775 <p>
776 Public method to add a directory tree rooted at path to the Subversion
777 repository.
778 </p><dl>
779 <dt><i>path</i></dt>
780 <dd>
781 root directory of the tree to be added (string or list of
782 strings))
783 </dd>
784 </dl><a NAME="Subversion.vcsAllRegisteredStates" ID="Subversion.vcsAllRegisteredStates"></a>
785 <h4>Subversion.vcsAllRegisteredStates</h4>
786 <b>vcsAllRegisteredStates</b>(<i>names, dname, shortcut=True</i>)
787 <p>
788 Public method used to get the registered states of a number of files
789 in the VCS.
790 </p><p>
791 <b>Note:</b> If a shortcut is to be taken, the code will only check,
792 if the named directory has been scanned already. If so, it is assumed,
793 that the states for all files have been populated by the previous run.
794 </p><dl>
795 <dt><i>names</i></dt>
796 <dd>
797 dictionary with all filenames to be checked as keys
798 </dd><dt><i>dname</i></dt>
799 <dd>
800 directory to check in (string)
801 </dd><dt><i>shortcut</i></dt>
802 <dd>
803 flag indicating a shortcut should be taken (boolean)
804 </dd>
805 </dl><dl>
806 <dt>Returns:</dt>
807 <dd>
808 the received dictionary completed with a combination of
809 canBeCommited and canBeAdded or None in order to signal an error
810 </dd>
811 </dl><a NAME="Subversion.vcsCheckout" ID="Subversion.vcsCheckout"></a>
812 <h4>Subversion.vcsCheckout</h4>
813 <b>vcsCheckout</b>(<i>vcsDataDict, projectDir, noDialog=False</i>)
814 <p>
815 Public method used to check the project out of the Subversion
816 repository.
817 </p><dl>
818 <dt><i>vcsDataDict</i></dt>
819 <dd>
820 dictionary of data required for the checkout
821 </dd><dt><i>projectDir</i></dt>
822 <dd>
823 project directory to create (string)
824 </dd><dt><i>noDialog</i></dt>
825 <dd>
826 flag indicating quiet operations
827 </dd>
828 </dl><dl>
829 <dt>Returns:</dt>
830 <dd>
831 flag indicating an execution without errors (boolean)
832 </dd>
833 </dl><a NAME="Subversion.vcsCleanup" ID="Subversion.vcsCleanup"></a>
834 <h4>Subversion.vcsCleanup</h4>
835 <b>vcsCleanup</b>(<i>name</i>)
836 <p>
837 Public method used to cleanup the working copy.
838 </p><dl>
839 <dt><i>name</i></dt>
840 <dd>
841 directory name to be cleaned up (string)
842 </dd>
843 </dl><a NAME="Subversion.vcsCommandLine" ID="Subversion.vcsCommandLine"></a>
844 <h4>Subversion.vcsCommandLine</h4>
845 <b>vcsCommandLine</b>(<i>name</i>)
846 <p>
847 Public method used to execute arbitrary subversion commands.
848 </p><dl>
849 <dt><i>name</i></dt>
850 <dd>
851 directory name of the working directory (string)
852 </dd>
853 </dl><a NAME="Subversion.vcsCommit" ID="Subversion.vcsCommit"></a>
854 <h4>Subversion.vcsCommit</h4>
855 <b>vcsCommit</b>(<i>name, message, noDialog=False</i>)
856 <p>
857 Public method used to make the change of a file/directory permanent
858 in the Subversion repository.
859 </p><dl>
860 <dt><i>name</i></dt>
861 <dd>
862 file/directory name to be committed (string or list of
863 strings)
864 </dd><dt><i>message</i></dt>
865 <dd>
866 message for this operation (string)
867 </dd><dt><i>noDialog</i></dt>
868 <dd>
869 flag indicating quiet operations
870 </dd>
871 </dl><a NAME="Subversion.vcsConvertProject" ID="Subversion.vcsConvertProject"></a>
872 <h4>Subversion.vcsConvertProject</h4>
873 <b>vcsConvertProject</b>(<i>vcsDataDict, project</i>)
874 <p>
875 Public method to convert an uncontrolled project to a version
876 controlled project.
877 </p><dl>
878 <dt><i>vcsDataDict</i></dt>
879 <dd>
880 dictionary of data required for the conversion
881 </dd><dt><i>project</i></dt>
882 <dd>
883 reference to the project object
884 </dd>
885 </dl><a NAME="Subversion.vcsDiff" ID="Subversion.vcsDiff"></a>
886 <h4>Subversion.vcsDiff</h4>
887 <b>vcsDiff</b>(<i>name</i>)
888 <p>
889 Public method used to view the difference of a file/directory to the
890 Subversion repository.
891 </p><p>
892 If name is a directory and is the project directory, all project files
893 are saved first. If name is a file (or list of files), which is/are
894 being edited and has unsaved modification, they can be saved or the
895 operation may be aborted.
896 </p><dl>
897 <dt><i>name</i></dt>
898 <dd>
899 file/directory name to be diffed (string)
900 </dd>
901 </dl><a NAME="Subversion.vcsExists" ID="Subversion.vcsExists"></a>
902 <h4>Subversion.vcsExists</h4>
903 <b>vcsExists</b>(<i></i>)
904 <p>
905 Public method used to test for the presence of the svn executable.
906 </p><dl>
907 <dt>Returns:</dt>
908 <dd>
909 flag indicating the existance (boolean) and an error message
910 (string)
911 </dd>
912 </dl><a NAME="Subversion.vcsExport" ID="Subversion.vcsExport"></a>
913 <h4>Subversion.vcsExport</h4>
914 <b>vcsExport</b>(<i>vcsDataDict, projectDir</i>)
915 <p>
916 Public method used to export a directory from the Subversion
917 repository.
918 </p><dl>
919 <dt><i>vcsDataDict</i></dt>
920 <dd>
921 dictionary of data required for the checkout
922 </dd><dt><i>projectDir</i></dt>
923 <dd>
924 project directory to create (string)
925 </dd>
926 </dl><dl>
927 <dt>Returns:</dt>
928 <dd>
929 flag indicating an execution without errors (boolean)
930 </dd>
931 </dl><a NAME="Subversion.vcsGetProjectBrowserHelper" ID="Subversion.vcsGetProjectBrowserHelper"></a>
932 <h4>Subversion.vcsGetProjectBrowserHelper</h4>
933 <b>vcsGetProjectBrowserHelper</b>(<i>browser, project, isTranslationsBrowser=False</i>)
934 <p>
935 Public method to instanciate a helper object for the different
936 project browsers.
937 </p><dl>
938 <dt><i>browser</i></dt>
939 <dd>
940 reference to the project browser object
941 </dd><dt><i>project</i></dt>
942 <dd>
943 reference to the project object
944 </dd><dt><i>isTranslationsBrowser</i></dt>
945 <dd>
946 flag indicating, the helper is requested
947 for the translations browser (this needs some special treatment)
948 </dd>
949 </dl><dl>
950 <dt>Returns:</dt>
951 <dd>
952 the project browser helper object
953 </dd>
954 </dl><a NAME="Subversion.vcsGetProjectHelper" ID="Subversion.vcsGetProjectHelper"></a>
955 <h4>Subversion.vcsGetProjectHelper</h4>
956 <b>vcsGetProjectHelper</b>(<i>project</i>)
957 <p>
958 Public method to instanciate a helper object for the project.
959 </p><dl>
960 <dt><i>project</i></dt>
961 <dd>
962 reference to the project object
963 </dd>
964 </dl><dl>
965 <dt>Returns:</dt>
966 <dd>
967 the project helper object
968 </dd>
969 </dl><a NAME="Subversion.vcsImport" ID="Subversion.vcsImport"></a>
970 <h4>Subversion.vcsImport</h4>
971 <b>vcsImport</b>(<i>vcsDataDict, projectDir, noDialog=False</i>)
972 <p>
973 Public method used to import the project into the Subversion
974 repository.
975 </p><dl>
976 <dt><i>vcsDataDict</i></dt>
977 <dd>
978 dictionary of data required for the import
979 </dd><dt><i>projectDir</i></dt>
980 <dd>
981 project directory (string)
982 </dd><dt><i>noDialog</i></dt>
983 <dd>
984 flag indicating quiet operations
985 </dd>
986 </dl><dl>
987 <dt>Returns:</dt>
988 <dd>
989 flag indicating an execution without errors (boolean)
990 and a flag indicating the version control status (boolean)
991 </dd>
992 </dl><a NAME="Subversion.vcsInit" ID="Subversion.vcsInit"></a>
993 <h4>Subversion.vcsInit</h4>
994 <b>vcsInit</b>(<i>vcsDir, noDialog=False</i>)
995 <p>
996 Public method used to initialize the subversion repository.
997 </p><p>
998 The subversion repository has to be initialized from outside eric6
999 because the respective command always works locally. Therefore we
1000 always return TRUE without doing anything.
1001 </p><dl>
1002 <dt><i>vcsDir</i></dt>
1003 <dd>
1004 name of the VCS directory (string)
1005 </dd><dt><i>noDialog</i></dt>
1006 <dd>
1007 flag indicating quiet operations (boolean)
1008 </dd>
1009 </dl><dl>
1010 <dt>Returns:</dt>
1011 <dd>
1012 always TRUE
1013 </dd>
1014 </dl><a NAME="Subversion.vcsInitConfig" ID="Subversion.vcsInitConfig"></a>
1015 <h4>Subversion.vcsInitConfig</h4>
1016 <b>vcsInitConfig</b>(<i>project</i>)
1017 <p>
1018 Public method to initialize the VCS configuration.
1019 </p><p>
1020 This method ensures, that an ignore file exists.
1021 </p><dl>
1022 <dt><i>project</i></dt>
1023 <dd>
1024 reference to the project (Project)
1025 </dd>
1026 </dl><a NAME="Subversion.vcsLogBrowser" ID="Subversion.vcsLogBrowser"></a>
1027 <h4>Subversion.vcsLogBrowser</h4>
1028 <b>vcsLogBrowser</b>(<i>name, isFile=False</i>)
1029 <p>
1030 Public method used to browse the log of a file/directory from the
1031 Subversion repository.
1032 </p><dl>
1033 <dt><i>name</i></dt>
1034 <dd>
1035 file/directory name to show the log of (string)
1036 </dd><dt><i>isFile</i></dt>
1037 <dd>
1038 flag indicating log for a file is to be shown (boolean)
1039 </dd>
1040 </dl><a NAME="Subversion.vcsMerge" ID="Subversion.vcsMerge"></a>
1041 <h4>Subversion.vcsMerge</h4>
1042 <b>vcsMerge</b>(<i>name</i>)
1043 <p>
1044 Public method used to merge a URL/revision into the local project.
1045 </p><dl>
1046 <dt><i>name</i></dt>
1047 <dd>
1048 file/directory name to be merged (string)
1049 </dd>
1050 </dl><a NAME="Subversion.vcsMove" ID="Subversion.vcsMove"></a>
1051 <h4>Subversion.vcsMove</h4>
1052 <b>vcsMove</b>(<i>name, project, target=None, noDialog=False</i>)
1053 <p>
1054 Public method used to move a file/directory.
1055 </p><dl>
1056 <dt><i>name</i></dt>
1057 <dd>
1058 file/directory name to be moved (string)
1059 </dd><dt><i>project</i></dt>
1060 <dd>
1061 reference to the project object
1062 </dd><dt><i>target</i></dt>
1063 <dd>
1064 new name of the file/directory (string)
1065 </dd><dt><i>noDialog</i></dt>
1066 <dd>
1067 flag indicating quiet operations
1068 </dd>
1069 </dl><dl>
1070 <dt>Returns:</dt>
1071 <dd>
1072 flag indicating successfull operation (boolean)
1073 </dd>
1074 </dl><a NAME="Subversion.vcsName" ID="Subversion.vcsName"></a>
1075 <h4>Subversion.vcsName</h4>
1076 <b>vcsName</b>(<i></i>)
1077 <p>
1078 Public method returning the name of the vcs.
1079 </p><dl>
1080 <dt>Returns:</dt>
1081 <dd>
1082 always 'Subversion' (string)
1083 </dd>
1084 </dl><a NAME="Subversion.vcsNewProjectOptionsDialog" ID="Subversion.vcsNewProjectOptionsDialog"></a>
1085 <h4>Subversion.vcsNewProjectOptionsDialog</h4>
1086 <b>vcsNewProjectOptionsDialog</b>(<i>parent=None</i>)
1087 <p>
1088 Public method to get a dialog to enter repository info for getting
1089 a new project.
1090 </p><dl>
1091 <dt><i>parent</i></dt>
1092 <dd>
1093 parent widget (QWidget)
1094 </dd>
1095 </dl><dl>
1096 <dt>Returns:</dt>
1097 <dd>
1098 reference to the instantiated options dialog
1099 (SvnNewProjectOptionsDialog)
1100 </dd>
1101 </dl><a NAME="Subversion.vcsOptionsDialog" ID="Subversion.vcsOptionsDialog"></a>
1102 <h4>Subversion.vcsOptionsDialog</h4>
1103 <b>vcsOptionsDialog</b>(<i>project, archive, editable=False, parent=None</i>)
1104 <p>
1105 Public method to get a dialog to enter repository info.
1106 </p><dl>
1107 <dt><i>project</i></dt>
1108 <dd>
1109 reference to the project object
1110 </dd><dt><i>archive</i></dt>
1111 <dd>
1112 name of the project in the repository (string)
1113 </dd><dt><i>editable</i></dt>
1114 <dd>
1115 flag indicating that the project name is editable
1116 (boolean)
1117 </dd><dt><i>parent</i></dt>
1118 <dd>
1119 parent widget (QWidget)
1120 </dd>
1121 </dl><dl>
1122 <dt>Returns:</dt>
1123 <dd>
1124 reference to the instantiated options dialog (SvnOptionsDialog)
1125 </dd>
1126 </dl><a NAME="Subversion.vcsRegisteredState" ID="Subversion.vcsRegisteredState"></a>
1127 <h4>Subversion.vcsRegisteredState</h4>
1128 <b>vcsRegisteredState</b>(<i>name</i>)
1129 <p>
1130 Public method used to get the registered state of a file in the vcs.
1131 </p><dl>
1132 <dt><i>name</i></dt>
1133 <dd>
1134 filename to check (string)
1135 </dd>
1136 </dl><dl>
1137 <dt>Returns:</dt>
1138 <dd>
1139 a combination of canBeCommited and canBeAdded
1140 </dd>
1141 </dl><a NAME="Subversion.vcsRemove" ID="Subversion.vcsRemove"></a>
1142 <h4>Subversion.vcsRemove</h4>
1143 <b>vcsRemove</b>(<i>name, project=False, noDialog=False</i>)
1144 <p>
1145 Public method used to remove a file/directory from the Subversion
1146 repository.
1147 </p><p>
1148 The default operation is to remove the local copy as well.
1149 </p><dl>
1150 <dt><i>name</i></dt>
1151 <dd>
1152 file/directory name to be removed (string or list of
1153 strings))
1154 </dd><dt><i>project</i></dt>
1155 <dd>
1156 flag indicating deletion of a project tree (boolean)
1157 (not needed)
1158 </dd><dt><i>noDialog</i></dt>
1159 <dd>
1160 flag indicating quiet operations
1161 </dd>
1162 </dl><dl>
1163 <dt>Returns:</dt>
1164 <dd>
1165 flag indicating successfull operation (boolean)
1166 </dd>
1167 </dl><a NAME="Subversion.vcsRepositoryInfos" ID="Subversion.vcsRepositoryInfos"></a>
1168 <h4>Subversion.vcsRepositoryInfos</h4>
1169 <b>vcsRepositoryInfos</b>(<i>ppath</i>)
1170 <p>
1171 Public method to retrieve information about the repository.
1172 </p><dl>
1173 <dt><i>ppath</i></dt>
1174 <dd>
1175 local path to get the repository infos (string)
1176 </dd>
1177 </dl><dl>
1178 <dt>Returns:</dt>
1179 <dd>
1180 string with ready formated info for display (string)
1181 </dd>
1182 </dl><a NAME="Subversion.vcsRevert" ID="Subversion.vcsRevert"></a>
1183 <h4>Subversion.vcsRevert</h4>
1184 <b>vcsRevert</b>(<i>name</i>)
1185 <p>
1186 Public method used to revert changes made to a file/directory.
1187 </p><dl>
1188 <dt><i>name</i></dt>
1189 <dd>
1190 file/directory name to be reverted (string)
1191 </dd>
1192 </dl><a NAME="Subversion.vcsShutdown" ID="Subversion.vcsShutdown"></a>
1193 <h4>Subversion.vcsShutdown</h4>
1194 <b>vcsShutdown</b>(<i></i>)
1195 <p>
1196 Public method used to shutdown the Subversion interface.
1197 </p><a NAME="Subversion.vcsStatus" ID="Subversion.vcsStatus"></a>
1198 <h4>Subversion.vcsStatus</h4>
1199 <b>vcsStatus</b>(<i>name</i>)
1200 <p>
1201 Public method used to view the status of files/directories in the
1202 Subversion repository.
1203 </p><dl>
1204 <dt><i>name</i></dt>
1205 <dd>
1206 file/directory name(s) to show the status of
1207 (string or list of strings)
1208 </dd>
1209 </dl><a NAME="Subversion.vcsSwitch" ID="Subversion.vcsSwitch"></a>
1210 <h4>Subversion.vcsSwitch</h4>
1211 <b>vcsSwitch</b>(<i>name</i>)
1212 <p>
1213 Public method used to switch a directory to a different tag/branch.
1214 </p><dl>
1215 <dt><i>name</i></dt>
1216 <dd>
1217 directory name to be switched (string)
1218 </dd>
1219 </dl><dl>
1220 <dt>Returns:</dt>
1221 <dd>
1222 flag indicating added or changed files (boolean)
1223 </dd>
1224 </dl><a NAME="Subversion.vcsTag" ID="Subversion.vcsTag"></a>
1225 <h4>Subversion.vcsTag</h4>
1226 <b>vcsTag</b>(<i>name</i>)
1227 <p>
1228 Public method used to set the tag of a file/directory in the
1229 Subversion repository.
1230 </p><dl>
1231 <dt><i>name</i></dt>
1232 <dd>
1233 file/directory name to be tagged (string)
1234 </dd>
1235 </dl><a NAME="Subversion.vcsUpdate" ID="Subversion.vcsUpdate"></a>
1236 <h4>Subversion.vcsUpdate</h4>
1237 <b>vcsUpdate</b>(<i>name, noDialog=False</i>)
1238 <p>
1239 Public method used to update a file/directory with the Subversion
1240 repository.
1241 </p><dl>
1242 <dt><i>name</i></dt>
1243 <dd>
1244 file/directory name to be updated (string or list of
1245 strings)
1246 </dd><dt><i>noDialog</i></dt>
1247 <dd>
1248 flag indicating quiet operations (boolean)
1249 </dd>
1250 </dl><dl>
1251 <dt>Returns:</dt>
1252 <dd>
1253 flag indicating, that the update contained an add
1254 or delete (boolean)
1255 </dd>
1256 </dl>
1257 <div align="right"><a href="#top">Up</a></div>
1258 <hr />
1259 </body></html>

eric ide

mercurial