434 <td><a href="#Git.vcsAddTree">vcsAddTree</a></td> |
434 <td><a href="#Git.vcsAddTree">vcsAddTree</a></td> |
435 <td>Public method to add a directory tree rooted at path to the Git repository.</td> |
435 <td>Public method to add a directory tree rooted at path to the Git repository.</td> |
436 </tr> |
436 </tr> |
437 <tr> |
437 <tr> |
438 <td><a href="#Git.vcsAllRegisteredStates">vcsAllRegisteredStates</a></td> |
438 <td><a href="#Git.vcsAllRegisteredStates">vcsAllRegisteredStates</a></td> |
439 <td></td> |
439 <td>Public method used to get the registered states of a number of files in the vcs.</td> |
440 </tr> |
440 </tr> |
441 <tr> |
441 <tr> |
442 <td><a href="#Git.vcsCheckout">vcsCheckout</a></td> |
442 <td><a href="#Git.vcsCheckout">vcsCheckout</a></td> |
443 <td>Public method used to check the project out of a Git repository (clone).</td> |
443 <td>Public method used to check the project out of a Git repository (clone).</td> |
444 </tr> |
444 </tr> |
494 <td><a href="#Git.vcsImport">vcsImport</a></td> |
494 <td><a href="#Git.vcsImport">vcsImport</a></td> |
495 <td>Public method used to import the project into the Git repository.</td> |
495 <td>Public method used to import the project into the Git repository.</td> |
496 </tr> |
496 </tr> |
497 <tr> |
497 <tr> |
498 <td><a href="#Git.vcsInit">vcsInit</a></td> |
498 <td><a href="#Git.vcsInit">vcsInit</a></td> |
499 <td></td> |
499 <td>Public method used to initialize the Git repository.</td> |
500 </tr> |
500 </tr> |
501 <tr> |
501 <tr> |
502 <td><a href="#Git.vcsInitConfig">vcsInitConfig</a></td> |
502 <td><a href="#Git.vcsInitConfig">vcsInitConfig</a></td> |
503 <td>Public method to initialize the VCS configuration.</td> |
503 <td>Public method to initialize the VCS configuration.</td> |
504 </tr> |
504 </tr> |
2354 </dl> |
2354 </dl> |
2355 <a NAME="Git.vcsAllRegisteredStates" ID="Git.vcsAllRegisteredStates"></a> |
2355 <a NAME="Git.vcsAllRegisteredStates" ID="Git.vcsAllRegisteredStates"></a> |
2356 <h4>Git.vcsAllRegisteredStates</h4> |
2356 <h4>Git.vcsAllRegisteredStates</h4> |
2357 <b>vcsAllRegisteredStates</b>(<i>names, dname, shortcut=True</i>) |
2357 <b>vcsAllRegisteredStates</b>(<i>names, dname, shortcut=True</i>) |
2358 |
2358 |
|
2359 <p> |
|
2360 Public method used to get the registered states of a number of files |
|
2361 in the vcs. |
|
2362 </p> |
|
2363 <p> |
|
2364 <b>Note:</b> If a shortcut is to be taken, the code will only check, |
|
2365 if the named directory has been scanned already. If so, it is assumed, |
|
2366 that the states for all files have been populated by the previous run. |
|
2367 </p> |
|
2368 <dl> |
|
2369 |
|
2370 <dt><i>names</i></dt> |
|
2371 <dd> |
|
2372 dictionary with all filenames to be checked as keys |
|
2373 </dd> |
|
2374 <dt><i>dname</i></dt> |
|
2375 <dd> |
|
2376 directory to check in (string) |
|
2377 </dd> |
|
2378 <dt><i>shortcut</i></dt> |
|
2379 <dd> |
|
2380 flag indicating a shortcut should be taken (boolean) |
|
2381 </dd> |
|
2382 </dl> |
|
2383 <dl> |
|
2384 <dt>Return:</dt> |
|
2385 <dd> |
|
2386 the received dictionary completed with a combination of |
|
2387 canBeCommited and canBeAdded or None in order to signal an error |
|
2388 </dd> |
|
2389 </dl> |
2359 <a NAME="Git.vcsCheckout" ID="Git.vcsCheckout"></a> |
2390 <a NAME="Git.vcsCheckout" ID="Git.vcsCheckout"></a> |
2360 <h4>Git.vcsCheckout</h4> |
2391 <h4>Git.vcsCheckout</h4> |
2361 <b>vcsCheckout</b>(<i>vcsDataDict, projectDir, noDialog=False</i>) |
2392 <b>vcsCheckout</b>(<i>vcsDataDict, projectDir, noDialog=False</i>) |
2362 |
2393 |
2363 <p> |
2394 <p> |
2661 </dl> |
2692 </dl> |
2662 <a NAME="Git.vcsInit" ID="Git.vcsInit"></a> |
2693 <a NAME="Git.vcsInit" ID="Git.vcsInit"></a> |
2663 <h4>Git.vcsInit</h4> |
2694 <h4>Git.vcsInit</h4> |
2664 <b>vcsInit</b>(<i>vcsDir, noDialog=False</i>) |
2695 <b>vcsInit</b>(<i>vcsDir, noDialog=False</i>) |
2665 |
2696 |
|
2697 <p> |
|
2698 Public method used to initialize the Git repository. |
|
2699 </p> |
|
2700 <p> |
|
2701 The initialization is done, when a project is converted into a |
|
2702 Git controlled project. Therefore we always return TRUE without |
|
2703 doing anything. |
|
2704 </p> |
|
2705 <dl> |
|
2706 |
|
2707 <dt><i>vcsDir</i></dt> |
|
2708 <dd> |
|
2709 name of the VCS directory (string) |
|
2710 </dd> |
|
2711 <dt><i>noDialog</i></dt> |
|
2712 <dd> |
|
2713 flag indicating quiet operations (boolean) |
|
2714 </dd> |
|
2715 </dl> |
|
2716 <dl> |
|
2717 <dt>Return:</dt> |
|
2718 <dd> |
|
2719 always TRUE |
|
2720 </dd> |
|
2721 </dl> |
2666 <a NAME="Git.vcsInitConfig" ID="Git.vcsInitConfig"></a> |
2722 <a NAME="Git.vcsInitConfig" ID="Git.vcsInitConfig"></a> |
2667 <h4>Git.vcsInitConfig</h4> |
2723 <h4>Git.vcsInitConfig</h4> |
2668 <b>vcsInitConfig</b>(<i>project</i>) |
2724 <b>vcsInitConfig</b>(<i>project</i>) |
2669 |
2725 |
2670 <p> |
2726 <p> |