src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.hg.html

branch
eric7
changeset 10259
b51dfacef37f
parent 10215
d476667171a1
child 10438
4cd7e5a8b3cf
equal deleted inserted replaced
10258:e7764f992a01 10259:b51dfacef37f
392 <td><a href="#Hg.stopClient">stopClient</a></td> 392 <td><a href="#Hg.stopClient">stopClient</a></td>
393 <td>Public method to stop the command server client.</td> 393 <td>Public method to stop the command server client.</td>
394 </tr> 394 </tr>
395 <tr> 395 <tr>
396 <td><a href="#Hg.vcsAdd">vcsAdd</a></td> 396 <td><a href="#Hg.vcsAdd">vcsAdd</a></td>
397 <td></td> 397 <td>Public method used to add a file/directory to the Mercurial repository.</td>
398 </tr> 398 </tr>
399 <tr> 399 <tr>
400 <td><a href="#Hg.vcsAddBinary">vcsAddBinary</a></td> 400 <td><a href="#Hg.vcsAddBinary">vcsAddBinary</a></td>
401 <td>Public method used to add a file/directory in binary mode to the Mercurial repository.</td> 401 <td>Public method used to add a file/directory in binary mode to the Mercurial repository.</td>
402 </tr> 402 </tr>
408 <td><a href="#Hg.vcsAddTree">vcsAddTree</a></td> 408 <td><a href="#Hg.vcsAddTree">vcsAddTree</a></td>
409 <td>Public method to add a directory tree rooted at path to the Mercurial repository.</td> 409 <td>Public method to add a directory tree rooted at path to the Mercurial repository.</td>
410 </tr> 410 </tr>
411 <tr> 411 <tr>
412 <td><a href="#Hg.vcsAllRegisteredStates">vcsAllRegisteredStates</a></td> 412 <td><a href="#Hg.vcsAllRegisteredStates">vcsAllRegisteredStates</a></td>
413 <td></td> 413 <td>Public method used to get the registered states of a number of files in the vcs.</td>
414 </tr> 414 </tr>
415 <tr> 415 <tr>
416 <td><a href="#Hg.vcsCheckout">vcsCheckout</a></td> 416 <td><a href="#Hg.vcsCheckout">vcsCheckout</a></td>
417 <td>Public method used to check the project out of a Mercurial repository (clone).</td> 417 <td>Public method used to check the project out of a Mercurial repository (clone).</td>
418 </tr> 418 </tr>
468 <td><a href="#Hg.vcsImport">vcsImport</a></td> 468 <td><a href="#Hg.vcsImport">vcsImport</a></td>
469 <td>Public method used to import the project into the Mercurial repository.</td> 469 <td>Public method used to import the project into the Mercurial repository.</td>
470 </tr> 470 </tr>
471 <tr> 471 <tr>
472 <td><a href="#Hg.vcsInit">vcsInit</a></td> 472 <td><a href="#Hg.vcsInit">vcsInit</a></td>
473 <td></td> 473 <td>Public method used to initialize the mercurial repository.</td>
474 </tr> 474 </tr>
475 <tr> 475 <tr>
476 <td><a href="#Hg.vcsInitConfig">vcsInitConfig</a></td> 476 <td><a href="#Hg.vcsInitConfig">vcsInitConfig</a></td>
477 <td>Public method to initialize the VCS configuration.</td> 477 <td>Public method to initialize the VCS configuration.</td>
478 </tr> 478 </tr>
480 <td><a href="#Hg.vcsLogBrowser">vcsLogBrowser</a></td> 480 <td><a href="#Hg.vcsLogBrowser">vcsLogBrowser</a></td>
481 <td>Public method used to browse the log of a file/directory from the Mercurial repository.</td> 481 <td>Public method used to browse the log of a file/directory from the Mercurial repository.</td>
482 </tr> 482 </tr>
483 <tr> 483 <tr>
484 <td><a href="#Hg.vcsMerge">vcsMerge</a></td> 484 <td><a href="#Hg.vcsMerge">vcsMerge</a></td>
485 <td></td> 485 <td>Public method used to merge a URL/revision into the local project.</td>
486 </tr> 486 </tr>
487 <tr> 487 <tr>
488 <td><a href="#Hg.vcsMove">vcsMove</a></td> 488 <td><a href="#Hg.vcsMove">vcsMove</a></td>
489 <td>Public method used to move a file/directory.</td> 489 <td>Public method used to move a file/directory.</td>
490 </tr> 490 </tr>
504 <td><a href="#Hg.vcsRegisteredState">vcsRegisteredState</a></td> 504 <td><a href="#Hg.vcsRegisteredState">vcsRegisteredState</a></td>
505 <td>Public method used to get the registered state of a file in the vcs.</td> 505 <td>Public method used to get the registered state of a file in the vcs.</td>
506 </tr> 506 </tr>
507 <tr> 507 <tr>
508 <td><a href="#Hg.vcsRemove">vcsRemove</a></td> 508 <td><a href="#Hg.vcsRemove">vcsRemove</a></td>
509 <td></td> 509 <td>Public method used to remove a file/directory from the Mercurial repository.</td>
510 </tr> 510 </tr>
511 <tr> 511 <tr>
512 <td><a href="#Hg.vcsRepositoryInfos">vcsRepositoryInfos</a></td> 512 <td><a href="#Hg.vcsRepositoryInfos">vcsRepositoryInfos</a></td>
513 <td></td> 513 <td>Public method to retrieve information about the repository.</td>
514 </tr> 514 </tr>
515 <tr> 515 <tr>
516 <td><a href="#Hg.vcsResolved">vcsResolved</a></td> 516 <td><a href="#Hg.vcsResolved">vcsResolved</a></td>
517 <td>Public method used to resolve conflicts of a file/directory.</td> 517 <td>Public method used to resolve conflicts of a file/directory.</td>
518 </tr> 518 </tr>
540 <td><a href="#Hg.vcsSwitch">vcsSwitch</a></td> 540 <td><a href="#Hg.vcsSwitch">vcsSwitch</a></td>
541 <td>Public method used to switch a working directory to a different revision.</td> 541 <td>Public method used to switch a working directory to a different revision.</td>
542 </tr> 542 </tr>
543 <tr> 543 <tr>
544 <td><a href="#Hg.vcsTag">vcsTag</a></td> 544 <td><a href="#Hg.vcsTag">vcsTag</a></td>
545 <td></td> 545 <td>Public method used to set/remove a tag in the Mercurial repository.</td>
546 </tr> 546 </tr>
547 <tr> 547 <tr>
548 <td><a href="#Hg.vcsUpdate">vcsUpdate</a></td> 548 <td><a href="#Hg.vcsUpdate">vcsUpdate</a></td>
549 <td></td> 549 <td>Public method used to update a file/directory with the Mercurial repository.</td>
550 </tr> 550 </tr>
551 </table> 551 </table>
552 <h3>Static Methods</h3> 552 <h3>Static Methods</h3>
553 553
554 <table> 554 <table>
1762 </p> 1762 </p>
1763 <a NAME="Hg.vcsAdd" ID="Hg.vcsAdd"></a> 1763 <a NAME="Hg.vcsAdd" ID="Hg.vcsAdd"></a>
1764 <h4>Hg.vcsAdd</h4> 1764 <h4>Hg.vcsAdd</h4>
1765 <b>vcsAdd</b>(<i>name, isDir=False, noDialog=False</i>) 1765 <b>vcsAdd</b>(<i>name, isDir=False, noDialog=False</i>)
1766 1766
1767 <p>
1768 Public method used to add a file/directory to the Mercurial repository.
1769 </p>
1770 <dl>
1771
1772 <dt><i>name</i></dt>
1773 <dd>
1774 file/directory name to be added (string)
1775 </dd>
1776 <dt><i>isDir</i></dt>
1777 <dd>
1778 flag indicating name is a directory (boolean)
1779 </dd>
1780 <dt><i>noDialog</i></dt>
1781 <dd>
1782 flag indicating quiet operations
1783 </dd>
1784 </dl>
1767 <a NAME="Hg.vcsAddBinary" ID="Hg.vcsAddBinary"></a> 1785 <a NAME="Hg.vcsAddBinary" ID="Hg.vcsAddBinary"></a>
1768 <h4>Hg.vcsAddBinary</h4> 1786 <h4>Hg.vcsAddBinary</h4>
1769 <b>vcsAddBinary</b>(<i>name, isDir=False</i>) 1787 <b>vcsAddBinary</b>(<i>name, isDir=False</i>)
1770 1788
1771 <p> 1789 <p>
1815 </dl> 1833 </dl>
1816 <a NAME="Hg.vcsAllRegisteredStates" ID="Hg.vcsAllRegisteredStates"></a> 1834 <a NAME="Hg.vcsAllRegisteredStates" ID="Hg.vcsAllRegisteredStates"></a>
1817 <h4>Hg.vcsAllRegisteredStates</h4> 1835 <h4>Hg.vcsAllRegisteredStates</h4>
1818 <b>vcsAllRegisteredStates</b>(<i>names, dname, shortcut=True</i>) 1836 <b>vcsAllRegisteredStates</b>(<i>names, dname, shortcut=True</i>)
1819 1837
1838 <p>
1839 Public method used to get the registered states of a number of files
1840 in the vcs.
1841 </p>
1842 <p>
1843 <b>Note:</b> If a shortcut is to be taken, the code will only check,
1844 if the named directory has been scanned already. If so, it is assumed,
1845 that the states for all files have been populated by the previous run.
1846 </p>
1847 <dl>
1848
1849 <dt><i>names</i></dt>
1850 <dd>
1851 dictionary with all filenames to be checked as keys
1852 </dd>
1853 <dt><i>dname</i></dt>
1854 <dd>
1855 directory to check in (string)
1856 </dd>
1857 <dt><i>shortcut</i></dt>
1858 <dd>
1859 flag indicating a shortcut should be taken (boolean)
1860 </dd>
1861 </dl>
1862 <dl>
1863 <dt>Return:</dt>
1864 <dd>
1865 the received dictionary completed with a combination of
1866 canBeCommited and canBeAdded or None in order to signal an error
1867 </dd>
1868 </dl>
1820 <a NAME="Hg.vcsCheckout" ID="Hg.vcsCheckout"></a> 1869 <a NAME="Hg.vcsCheckout" ID="Hg.vcsCheckout"></a>
1821 <h4>Hg.vcsCheckout</h4> 1870 <h4>Hg.vcsCheckout</h4>
1822 <b>vcsCheckout</b>(<i>vcsDataDict, projectDir, noDialog=False</i>) 1871 <b>vcsCheckout</b>(<i>vcsDataDict, projectDir, noDialog=False</i>)
1823 1872
1824 <p> 1873 <p>
2126 </dl> 2175 </dl>
2127 <a NAME="Hg.vcsInit" ID="Hg.vcsInit"></a> 2176 <a NAME="Hg.vcsInit" ID="Hg.vcsInit"></a>
2128 <h4>Hg.vcsInit</h4> 2177 <h4>Hg.vcsInit</h4>
2129 <b>vcsInit</b>(<i>vcsDir, noDialog=False</i>) 2178 <b>vcsInit</b>(<i>vcsDir, noDialog=False</i>)
2130 2179
2180 <p>
2181 Public method used to initialize the mercurial repository.
2182 </p>
2183 <p>
2184 The initialization is done, when a project is converted into a
2185 Mercurial controlled project. Therefore we always return TRUE without
2186 doing anything.
2187 </p>
2188 <dl>
2189
2190 <dt><i>vcsDir</i></dt>
2191 <dd>
2192 name of the VCS directory (string)
2193 </dd>
2194 <dt><i>noDialog</i></dt>
2195 <dd>
2196 flag indicating quiet operations (boolean)
2197 </dd>
2198 </dl>
2199 <dl>
2200 <dt>Return:</dt>
2201 <dd>
2202 always TRUE
2203 </dd>
2204 </dl>
2131 <a NAME="Hg.vcsInitConfig" ID="Hg.vcsInitConfig"></a> 2205 <a NAME="Hg.vcsInitConfig" ID="Hg.vcsInitConfig"></a>
2132 <h4>Hg.vcsInitConfig</h4> 2206 <h4>Hg.vcsInitConfig</h4>
2133 <b>vcsInitConfig</b>(<i>project</i>) 2207 <b>vcsInitConfig</b>(<i>project</i>)
2134 2208
2135 <p> 2209 <p>
2167 </dl> 2241 </dl>
2168 <a NAME="Hg.vcsMerge" ID="Hg.vcsMerge"></a> 2242 <a NAME="Hg.vcsMerge" ID="Hg.vcsMerge"></a>
2169 <h4>Hg.vcsMerge</h4> 2243 <h4>Hg.vcsMerge</h4>
2170 <b>vcsMerge</b>(<i>name, rev=""</i>) 2244 <b>vcsMerge</b>(<i>name, rev=""</i>)
2171 2245
2246 <p>
2247 Public method used to merge a URL/revision into the local project.
2248 </p>
2249 <dl>
2250
2251 <dt><i>name</i> (str)</dt>
2252 <dd>
2253 file/directory name to be merged
2254 </dd>
2255 <dt><i>rev</i> (str)</dt>
2256 <dd>
2257 revision to merge with
2258 </dd>
2259 </dl>
2172 <a NAME="Hg.vcsMove" ID="Hg.vcsMove"></a> 2260 <a NAME="Hg.vcsMove" ID="Hg.vcsMove"></a>
2173 <h4>Hg.vcsMove</h4> 2261 <h4>Hg.vcsMove</h4>
2174 <b>vcsMove</b>(<i>name, project, target=None, noDialog=False</i>) 2262 <b>vcsMove</b>(<i>name, project, target=None, noDialog=False</i>)
2175 2263
2176 <p> 2264 <p>
2297 </dl> 2385 </dl>
2298 <a NAME="Hg.vcsRemove" ID="Hg.vcsRemove"></a> 2386 <a NAME="Hg.vcsRemove" ID="Hg.vcsRemove"></a>
2299 <h4>Hg.vcsRemove</h4> 2387 <h4>Hg.vcsRemove</h4>
2300 <b>vcsRemove</b>(<i>name, project=False, noDialog=False</i>) 2388 <b>vcsRemove</b>(<i>name, project=False, noDialog=False</i>)
2301 2389
2390 <p>
2391 Public method used to remove a file/directory from the Mercurial
2392 repository.
2393 </p>
2394 <p>
2395 The default operation is to remove the local copy as well.
2396 </p>
2397 <dl>
2398
2399 <dt><i>name</i></dt>
2400 <dd>
2401 file/directory name to be removed (string or list of
2402 strings))
2403 </dd>
2404 <dt><i>project</i></dt>
2405 <dd>
2406 flag indicating deletion of a project tree (boolean)
2407 (not needed)
2408 </dd>
2409 <dt><i>noDialog</i></dt>
2410 <dd>
2411 flag indicating quiet operations
2412 </dd>
2413 </dl>
2414 <dl>
2415 <dt>Return:</dt>
2416 <dd>
2417 flag indicating successfull operation (boolean)
2418 </dd>
2419 </dl>
2302 <a NAME="Hg.vcsRepositoryInfos" ID="Hg.vcsRepositoryInfos"></a> 2420 <a NAME="Hg.vcsRepositoryInfos" ID="Hg.vcsRepositoryInfos"></a>
2303 <h4>Hg.vcsRepositoryInfos</h4> 2421 <h4>Hg.vcsRepositoryInfos</h4>
2304 <b>vcsRepositoryInfos</b>(<i>ppath</i>) 2422 <b>vcsRepositoryInfos</b>(<i>ppath</i>)
2305 2423
2424 <p>
2425 Public method to retrieve information about the repository.
2426 </p>
2427 <dl>
2428
2429 <dt><i>ppath</i></dt>
2430 <dd>
2431 local path to get the repository infos (string)
2432 </dd>
2433 </dl>
2434 <dl>
2435 <dt>Return:</dt>
2436 <dd>
2437 string with ready formated info for display (string)
2438 </dd>
2439 </dl>
2306 <a NAME="Hg.vcsResolved" ID="Hg.vcsResolved"></a> 2440 <a NAME="Hg.vcsResolved" ID="Hg.vcsResolved"></a>
2307 <h4>Hg.vcsResolved</h4> 2441 <h4>Hg.vcsResolved</h4>
2308 <b>vcsResolved</b>(<i>name, unresolve=False</i>) 2442 <b>vcsResolved</b>(<i>name, unresolve=False</i>)
2309 2443
2310 <p> 2444 <p>
2440 </dl> 2574 </dl>
2441 <a NAME="Hg.vcsTag" ID="Hg.vcsTag"></a> 2575 <a NAME="Hg.vcsTag" ID="Hg.vcsTag"></a>
2442 <h4>Hg.vcsTag</h4> 2576 <h4>Hg.vcsTag</h4>
2443 <b>vcsTag</b>(<i>name=None, revision=None, tagName=None</i>) 2577 <b>vcsTag</b>(<i>name=None, revision=None, tagName=None</i>)
2444 2578
2579 <p>
2580 Public method used to set/remove a tag in the Mercurial repository.
2581 </p>
2582 <dl>
2583
2584 <dt><i>name</i></dt>
2585 <dd>
2586 file/directory name to determine the repo root from
2587 (string)
2588 </dd>
2589 <dt><i>revision</i></dt>
2590 <dd>
2591 revision to set tag for (string)
2592 </dd>
2593 <dt><i>tagName</i></dt>
2594 <dd>
2595 name of the tag (string)
2596 </dd>
2597 </dl>
2598 <dl>
2599 <dt>Return:</dt>
2600 <dd>
2601 flag indicating a performed tag action (boolean)
2602 </dd>
2603 </dl>
2445 <a NAME="Hg.vcsUpdate" ID="Hg.vcsUpdate"></a> 2604 <a NAME="Hg.vcsUpdate" ID="Hg.vcsUpdate"></a>
2446 <h4>Hg.vcsUpdate</h4> 2605 <h4>Hg.vcsUpdate</h4>
2447 <b>vcsUpdate</b>(<i>name=None, noDialog=False, revision=None</i>) 2606 <b>vcsUpdate</b>(<i>name=None, noDialog=False, revision=None</i>)
2448 2607
2608 <p>
2609 Public method used to update a file/directory with the Mercurial
2610 repository.
2611 </p>
2612 <dl>
2613
2614 <dt><i>name</i></dt>
2615 <dd>
2616 file/directory name to be updated (not used)
2617 </dd>
2618 <dt><i>noDialog</i></dt>
2619 <dd>
2620 flag indicating quiet operations (boolean)
2621 </dd>
2622 <dt><i>revision</i></dt>
2623 <dd>
2624 revision to update to (string)
2625 </dd>
2626 </dl>
2627 <dl>
2628 <dt>Return:</dt>
2629 <dd>
2630 flag indicating, that the update contained an add
2631 or delete (boolean)
2632 </dd>
2633 </dl>
2449 <div align="right"><a href="#top">Up</a></div> 2634 <div align="right"><a href="#top">Up</a></div>
2450 <hr /> 2635 <hr />
2451 </body></html> 2636 </body></html>

eric ide

mercurial