45 Class implementing the version control systems interface to Mercurial. |
45 Class implementing the version control systems interface to Mercurial. |
46 </p><h3>Signals</h3> |
46 </p><h3>Signals</h3> |
47 <dl> |
47 <dl> |
48 <dt>activeExtensionsChanged()</dt> |
48 <dt>activeExtensionsChanged()</dt> |
49 <dd> |
49 <dd> |
50 emitted when the list of active extensions |
50 emitted when the list of active |
51 has changed |
51 extensions has changed |
52 </dd><dt>committed()</dt> |
52 </dd><dt>committed()</dt> |
53 <dd> |
53 <dd> |
54 emitted after the commit action has completed |
54 emitted after the commit action has completed |
55 </dd> |
55 </dd> |
56 </dl> |
56 </dl> |
276 </tr><tr> |
276 </tr><tr> |
277 <td><a href="#Hg.vcsExists">vcsExists</a></td> |
277 <td><a href="#Hg.vcsExists">vcsExists</a></td> |
278 <td>Public method used to test for the presence of the hg executable.</td> |
278 <td>Public method used to test for the presence of the hg executable.</td> |
279 </tr><tr> |
279 </tr><tr> |
280 <td><a href="#Hg.vcsExport">vcsExport</a></td> |
280 <td><a href="#Hg.vcsExport">vcsExport</a></td> |
281 <td>Public method used to export a directory from the Subversion repository.</td> |
281 <td>Public method used to export a directory from the Mercurial repository.</td> |
282 </tr><tr> |
282 </tr><tr> |
283 <td><a href="#Hg.vcsGetProjectBrowserHelper">vcsGetProjectBrowserHelper</a></td> |
283 <td><a href="#Hg.vcsGetProjectBrowserHelper">vcsGetProjectBrowserHelper</a></td> |
284 <td>Public method to instantiate a helper object for the different project browsers.</td> |
284 <td>Public method to instantiate a helper object for the different project browsers.</td> |
285 </tr><tr> |
285 </tr><tr> |
286 <td><a href="#Hg.vcsGetProjectHelper">vcsGetProjectHelper</a></td> |
286 <td><a href="#Hg.vcsGetProjectHelper">vcsGetProjectHelper</a></td> |
287 <td>Public method to instantiate a helper object for the project.</td> |
287 <td>Public method to instantiate a helper object for the project.</td> |
288 </tr><tr> |
288 </tr><tr> |
289 <td><a href="#Hg.vcsImport">vcsImport</a></td> |
289 <td><a href="#Hg.vcsImport">vcsImport</a></td> |
290 <td>Public method used to import the project into the Subversion repository.</td> |
290 <td>Public method used to import the project into the Mercurial repository.</td> |
291 </tr><tr> |
291 </tr><tr> |
292 <td><a href="#Hg.vcsInit">vcsInit</a></td> |
292 <td><a href="#Hg.vcsInit">vcsInit</a></td> |
293 <td>Public method used to initialize the mercurial repository.</td> |
293 <td>Public method used to initialize the mercurial repository.</td> |
294 </tr><tr> |
294 </tr><tr> |
295 <td><a href="#Hg.vcsInitConfig">vcsInitConfig</a></td> |
295 <td><a href="#Hg.vcsInitConfig">vcsInitConfig</a></td> |
365 Private method to get the active extensions from Mercurial. |
365 Private method to get the active extensions from Mercurial. |
366 </p><a NAME="Hg.__hgGetFileForRevision" ID="Hg.__hgGetFileForRevision"></a> |
366 </p><a NAME="Hg.__hgGetFileForRevision" ID="Hg.__hgGetFileForRevision"></a> |
367 <h4>Hg.__hgGetFileForRevision</h4> |
367 <h4>Hg.__hgGetFileForRevision</h4> |
368 <b>__hgGetFileForRevision</b>(<i>name, rev=""</i>) |
368 <b>__hgGetFileForRevision</b>(<i>name, rev=""</i>) |
369 <p> |
369 <p> |
370 Private method to get a file for a specific revision from the repository. |
370 Private method to get a file for a specific revision from the |
|
371 repository. |
371 </p><dl> |
372 </p><dl> |
372 <dt><i>name</i></dt> |
373 <dt><i>name</i></dt> |
373 <dd> |
374 <dd> |
374 file name to get from the repository (string) |
375 file name to get from the repository (string) |
375 </dd><dt><i>rev=</i></dt> |
376 </dd><dt><i>rev=</i></dt> |
408 </dd> |
409 </dd> |
409 </dl><a NAME="Hg.__monitorRepoIniFile" ID="Hg.__monitorRepoIniFile"></a> |
410 </dl><a NAME="Hg.__monitorRepoIniFile" ID="Hg.__monitorRepoIniFile"></a> |
410 <h4>Hg.__monitorRepoIniFile</h4> |
411 <h4>Hg.__monitorRepoIniFile</h4> |
411 <b>__monitorRepoIniFile</b>(<i>name</i>) |
412 <b>__monitorRepoIniFile</b>(<i>name</i>) |
412 <p> |
413 <p> |
413 Private slot to add a repository configuration file to the list of monitored |
414 Private slot to add a repository configuration file to the list of |
414 files. |
415 monitored files. |
415 </p><dl> |
416 </p><dl> |
416 <dt><i>name</i></dt> |
417 <dt><i>name</i></dt> |
417 <dd> |
418 <dd> |
418 directory name pointing into the repository (string) |
419 directory name pointing into the repository (string) |
419 </dd> |
420 </dd> |
424 Private slot performing the second step of the commit action. |
425 Private slot performing the second step of the commit action. |
425 </p><a NAME="Hg._createStatusMonitorThread" ID="Hg._createStatusMonitorThread"></a> |
426 </p><a NAME="Hg._createStatusMonitorThread" ID="Hg._createStatusMonitorThread"></a> |
426 <h4>Hg._createStatusMonitorThread</h4> |
427 <h4>Hg._createStatusMonitorThread</h4> |
427 <b>_createStatusMonitorThread</b>(<i>interval, project</i>) |
428 <b>_createStatusMonitorThread</b>(<i>interval, project</i>) |
428 <p> |
429 <p> |
429 Protected method to create an instance of the VCS status monitor thread. |
430 Protected method to create an instance of the VCS status monitor |
|
431 thread. |
430 </p><dl> |
432 </p><dl> |
431 <dt><i>interval</i></dt> |
433 <dt><i>interval</i></dt> |
432 <dd> |
434 <dd> |
433 check interval for the monitor thread in seconds (integer) |
435 check interval for the monitor thread in seconds |
|
436 (integer) |
434 </dd><dt><i>project</i></dt> |
437 </dd><dt><i>project</i></dt> |
435 <dd> |
438 <dd> |
436 reference to the project object (Project) |
439 reference to the project object (Project) |
437 </dd> |
440 </dd> |
438 </dl><dl> |
441 </dl><dl> |
472 </dd> |
475 </dd> |
473 </dl><a NAME="Hg.getHgSubPath" ID="Hg.getHgSubPath"></a> |
476 </dl><a NAME="Hg.getHgSubPath" ID="Hg.getHgSubPath"></a> |
474 <h4>Hg.getHgSubPath</h4> |
477 <h4>Hg.getHgSubPath</h4> |
475 <b>getHgSubPath</b>(<i></i>) |
478 <b>getHgSubPath</b>(<i></i>) |
476 <p> |
479 <p> |
477 Public method to get the path to the .hgsub file containing the definitions |
480 Public method to get the path to the .hgsub file containing the |
478 of sub-repositories. |
481 definitions of sub-repositories. |
479 </p><dl> |
482 </p><dl> |
480 <dt>Returns:</dt> |
483 <dt>Returns:</dt> |
481 <dd> |
484 <dd> |
482 full path of the .hgsub file (string) |
485 full path of the .hgsub file (string) |
483 </dd> |
486 </dd> |
523 Public method to create an unversioned archive from the repository. |
526 Public method to create an unversioned archive from the repository. |
524 </p><a NAME="Hg.hgBackout" ID="Hg.hgBackout"></a> |
527 </p><a NAME="Hg.hgBackout" ID="Hg.hgBackout"></a> |
525 <h4>Hg.hgBackout</h4> |
528 <h4>Hg.hgBackout</h4> |
526 <b>hgBackout</b>(<i>name</i>) |
529 <b>hgBackout</b>(<i>name</i>) |
527 <p> |
530 <p> |
528 Public method used to backout an earlier changeset from the Mercurial repository. |
531 Public method used to backout an earlier changeset from the Mercurial |
|
532 repository. |
529 </p><dl> |
533 </p><dl> |
530 <dt><i>name</i></dt> |
534 <dt><i>name</i></dt> |
531 <dd> |
535 <dd> |
532 directory name (string or list of strings) |
536 directory name (string or list of strings) |
533 </dd> |
537 </dd> |
637 <p> |
641 <p> |
638 Public method used to view the difference of a file/directory to the |
642 Public method used to view the difference of a file/directory to the |
639 Mercurial repository. |
643 Mercurial repository. |
640 </p><p> |
644 </p><p> |
641 If name is a directory and is the project directory, all project files |
645 If name is a directory and is the project directory, all project files |
642 are saved first. If name is a file (or list of files), which is/are being edited |
646 are saved first. If name is a file (or list of files), which is/are |
643 and has unsaved modification, they can be saved or the operation may be aborted. |
647 being edited and has unsaved modification, they can be saved or the |
|
648 operation may be aborted. |
644 </p><p> |
649 </p><p> |
645 This method gives the chance to enter the revisions to be compared. |
650 This method gives the chance to enter the revisions to be compared. |
646 </p><dl> |
651 </p><dl> |
647 <dt><i>name</i></dt> |
652 <dt><i>name</i></dt> |
648 <dd> |
653 <dd> |
656 </p><p> |
661 </p><p> |
657 This will not remove the file from the project directory. |
662 This will not remove the file from the project directory. |
658 </p><dl> |
663 </p><dl> |
659 <dt><i>name</i></dt> |
664 <dt><i>name</i></dt> |
660 <dd> |
665 <dd> |
661 file/directory name to be removed (string or list of strings)) |
666 file/directory name to be removed (string or list of |
|
667 strings)) |
662 </dd> |
668 </dd> |
663 </dl><a NAME="Hg.hgGetBranchesList" ID="Hg.hgGetBranchesList"></a> |
669 </dl><a NAME="Hg.hgGetBranchesList" ID="Hg.hgGetBranchesList"></a> |
664 <h4>Hg.hgGetBranchesList</h4> |
670 <h4>Hg.hgGetBranchesList</h4> |
665 <b>hgGetBranchesList</b>(<i>repodir</i>) |
671 <b>hgGetBranchesList</b>(<i>repodir</i>) |
666 <p> |
672 <p> |
779 <dt><i>ppath</i></dt> |
786 <dt><i>ppath</i></dt> |
780 <dd> |
787 <dd> |
781 local path to get the repository infos (string) |
788 local path to get the repository infos (string) |
782 </dd><dt><i>mode=</i></dt> |
789 </dd><dt><i>mode=</i></dt> |
783 <dd> |
790 <dd> |
784 mode of the operation (string, one of heads, parents, tip) |
791 mode of the operation (string, one of heads, parents, |
|
792 tip) |
785 </dd> |
793 </dd> |
786 </dl><a NAME="Hg.hgListTagBranch" ID="Hg.hgListTagBranch"></a> |
794 </dl><a NAME="Hg.hgListTagBranch" ID="Hg.hgListTagBranch"></a> |
787 <h4>Hg.hgListTagBranch</h4> |
795 <h4>Hg.hgListTagBranch</h4> |
788 <b>hgListTagBranch</b>(<i>path, tags=True</i>) |
796 <b>hgListTagBranch</b>(<i>path, tags=True</i>) |
789 <p> |
797 <p> |
807 <dt><i>path</i></dt> |
815 <dt><i>path</i></dt> |
808 <dd> |
816 <dd> |
809 file/directory name to show the log of (string) |
817 file/directory name to show the log of (string) |
810 </dd><dt><i>isFile=</i></dt> |
818 </dd><dt><i>isFile=</i></dt> |
811 <dd> |
819 <dd> |
812 flag indicating log for a file is to be shown (boolean) |
820 flag indicating log for a file is to be shown |
|
821 (boolean) |
813 </dd> |
822 </dd> |
814 </dl><a NAME="Hg.hgNormalizeURL" ID="Hg.hgNormalizeURL"></a> |
823 </dl><a NAME="Hg.hgNormalizeURL" ID="Hg.hgNormalizeURL"></a> |
815 <h4>Hg.hgNormalizeURL</h4> |
824 <h4>Hg.hgNormalizeURL</h4> |
816 <b>hgNormalizeURL</b>(<i>url</i>) |
825 <b>hgNormalizeURL</b>(<i>url</i>) |
817 <p> |
826 <p> |
957 </dd> |
966 </dd> |
958 </dl><a NAME="Hg.hgSbsDiff" ID="Hg.hgSbsDiff"></a> |
967 </dl><a NAME="Hg.hgSbsDiff" ID="Hg.hgSbsDiff"></a> |
959 <h4>Hg.hgSbsDiff</h4> |
968 <h4>Hg.hgSbsDiff</h4> |
960 <b>hgSbsDiff</b>(<i>name, extended=False, revisions=None</i>) |
969 <b>hgSbsDiff</b>(<i>name, extended=False, revisions=None</i>) |
961 <p> |
970 <p> |
962 Public method used to view the difference of a file to the Mercurial repository |
971 Public method used to view the difference of a file to the Mercurial |
963 side-by-side. |
972 repository side-by-side. |
964 </p><dl> |
973 </p><dl> |
965 <dt><i>name</i></dt> |
974 <dt><i>name</i></dt> |
966 <dd> |
975 <dd> |
967 file name to be diffed (string) |
976 file name to be diffed (string) |
968 </dd><dt><i>extended=</i></dt> |
977 </dd><dt><i>extended=</i></dt> |
1101 </dd> |
1110 </dd> |
1102 </dl><a NAME="Hg.vcsAddTree" ID="Hg.vcsAddTree"></a> |
1111 </dl><a NAME="Hg.vcsAddTree" ID="Hg.vcsAddTree"></a> |
1103 <h4>Hg.vcsAddTree</h4> |
1112 <h4>Hg.vcsAddTree</h4> |
1104 <b>vcsAddTree</b>(<i>path</i>) |
1113 <b>vcsAddTree</b>(<i>path</i>) |
1105 <p> |
1114 <p> |
1106 Public method to add a directory tree rooted at path to the Mercurial repository. |
1115 Public method to add a directory tree rooted at path to the Mercurial |
|
1116 repository. |
1107 </p><dl> |
1117 </p><dl> |
1108 <dt><i>path</i></dt> |
1118 <dt><i>path</i></dt> |
1109 <dd> |
1119 <dd> |
1110 root directory of the tree to be added (string or list of strings)) |
1120 root directory of the tree to be added (string or list of |
|
1121 strings)) |
1111 </dd> |
1122 </dd> |
1112 </dl><a NAME="Hg.vcsAllRegisteredStates" ID="Hg.vcsAllRegisteredStates"></a> |
1123 </dl><a NAME="Hg.vcsAllRegisteredStates" ID="Hg.vcsAllRegisteredStates"></a> |
1113 <h4>Hg.vcsAllRegisteredStates</h4> |
1124 <h4>Hg.vcsAllRegisteredStates</h4> |
1114 <b>vcsAllRegisteredStates</b>(<i>names, dname, shortcut=True</i>) |
1125 <b>vcsAllRegisteredStates</b>(<i>names, dname, shortcut=True</i>) |
1115 <p> |
1126 <p> |
1116 Public method used to get the registered states of a number of files in the vcs. |
1127 Public method used to get the registered states of a number of files |
|
1128 in the vcs. |
1117 </p><p> |
1129 </p><p> |
1118 <b>Note:</b> If a shortcut is to be taken, the code will only check, if the named |
1130 <b>Note:</b> If a shortcut is to be taken, the code will only check, |
1119 directory has been scanned already. If so, it is assumed, that the states for |
1131 if the named directory has been scanned already. If so, it is assumed, |
1120 all files have been populated by the previous run. |
1132 that the states for all files have been populated by the previous run. |
1121 </p><dl> |
1133 </p><dl> |
1122 <dt><i>names</i></dt> |
1134 <dt><i>names</i></dt> |
1123 <dd> |
1135 <dd> |
1124 dictionary with all filenames to be checked as keys |
1136 dictionary with all filenames to be checked as keys |
1125 </dd><dt><i>dname</i></dt> |
1137 </dd><dt><i>dname</i></dt> |
1137 </dd> |
1149 </dd> |
1138 </dl><a NAME="Hg.vcsCheckout" ID="Hg.vcsCheckout"></a> |
1150 </dl><a NAME="Hg.vcsCheckout" ID="Hg.vcsCheckout"></a> |
1139 <h4>Hg.vcsCheckout</h4> |
1151 <h4>Hg.vcsCheckout</h4> |
1140 <b>vcsCheckout</b>(<i>vcsDataDict, projectDir, noDialog=False</i>) |
1152 <b>vcsCheckout</b>(<i>vcsDataDict, projectDir, noDialog=False</i>) |
1141 <p> |
1153 <p> |
1142 Public method used to check the project out of a Mercurial repository (clone). |
1154 Public method used to check the project out of a Mercurial repository |
|
1155 (clone). |
1143 </p><dl> |
1156 </p><dl> |
1144 <dt><i>vcsDataDict</i></dt> |
1157 <dt><i>vcsDataDict</i></dt> |
1145 <dd> |
1158 <dd> |
1146 dictionary of data required for the checkout |
1159 dictionary of data required for the checkout |
1147 </dd><dt><i>projectDir</i></dt> |
1160 </dd><dt><i>projectDir</i></dt> |
1178 </dd> |
1191 </dd> |
1179 </dl><a NAME="Hg.vcsCommit" ID="Hg.vcsCommit"></a> |
1192 </dl><a NAME="Hg.vcsCommit" ID="Hg.vcsCommit"></a> |
1180 <h4>Hg.vcsCommit</h4> |
1193 <h4>Hg.vcsCommit</h4> |
1181 <b>vcsCommit</b>(<i>name, message, noDialog=False, closeBranch=False, mq=False</i>) |
1194 <b>vcsCommit</b>(<i>name, message, noDialog=False, closeBranch=False, mq=False</i>) |
1182 <p> |
1195 <p> |
1183 Public method used to make the change of a file/directory permanent in the |
1196 Public method used to make the change of a file/directory permanent |
1184 Mercurial repository. |
1197 in the Mercurial repository. |
1185 </p><dl> |
1198 </p><dl> |
1186 <dt><i>name</i></dt> |
1199 <dt><i>name</i></dt> |
1187 <dd> |
1200 <dd> |
1188 file/directory name to be committed (string or list of strings) |
1201 file/directory name to be committed (string or list of |
|
1202 strings) |
1189 </dd><dt><i>message</i></dt> |
1203 </dd><dt><i>message</i></dt> |
1190 <dd> |
1204 <dd> |
1191 message for this operation (string) |
1205 message for this operation (string) |
1192 </dd><dt><i>noDialog</i></dt> |
1206 </dd><dt><i>noDialog</i></dt> |
1193 <dd> |
1207 <dd> |
1201 </dd> |
1215 </dd> |
1202 </dl><a NAME="Hg.vcsConvertProject" ID="Hg.vcsConvertProject"></a> |
1216 </dl><a NAME="Hg.vcsConvertProject" ID="Hg.vcsConvertProject"></a> |
1203 <h4>Hg.vcsConvertProject</h4> |
1217 <h4>Hg.vcsConvertProject</h4> |
1204 <b>vcsConvertProject</b>(<i>vcsDataDict, project</i>) |
1218 <b>vcsConvertProject</b>(<i>vcsDataDict, project</i>) |
1205 <p> |
1219 <p> |
1206 Public method to convert an uncontrolled project to a version controlled project. |
1220 Public method to convert an uncontrolled project to a version |
|
1221 controlled project. |
1207 </p><dl> |
1222 </p><dl> |
1208 <dt><i>vcsDataDict</i></dt> |
1223 <dt><i>vcsDataDict</i></dt> |
1209 <dd> |
1224 <dd> |
1210 dictionary of data required for the conversion |
1225 dictionary of data required for the conversion |
1211 </dd><dt><i>project</i></dt> |
1226 </dd><dt><i>project</i></dt> |
1218 <p> |
1233 <p> |
1219 Public method used to view the difference of a file/directory to the |
1234 Public method used to view the difference of a file/directory to the |
1220 Mercurial repository. |
1235 Mercurial repository. |
1221 </p><p> |
1236 </p><p> |
1222 If name is a directory and is the project directory, all project files |
1237 If name is a directory and is the project directory, all project files |
1223 are saved first. If name is a file (or list of files), which is/are being edited |
1238 are saved first. If name is a file (or list of files), which is/are |
1224 and has unsaved modification, they can be saved or the operation may be aborted. |
1239 being edited and has unsaved modification, they can be saved or the |
|
1240 operation may be aborted. |
1225 </p><dl> |
1241 </p><dl> |
1226 <dt><i>name</i></dt> |
1242 <dt><i>name</i></dt> |
1227 <dd> |
1243 <dd> |
1228 file/directory name to be diffed (string) |
1244 file/directory name to be diffed (string) |
1229 </dd> |
1245 </dd> |
1233 <p> |
1249 <p> |
1234 Public method used to test for the presence of the hg executable. |
1250 Public method used to test for the presence of the hg executable. |
1235 </p><dl> |
1251 </p><dl> |
1236 <dt>Returns:</dt> |
1252 <dt>Returns:</dt> |
1237 <dd> |
1253 <dd> |
1238 flag indicating the existance (boolean) and an error message (string) |
1254 flag indicating the existance (boolean) and an error message |
|
1255 (string) |
1239 </dd> |
1256 </dd> |
1240 </dl><a NAME="Hg.vcsExport" ID="Hg.vcsExport"></a> |
1257 </dl><a NAME="Hg.vcsExport" ID="Hg.vcsExport"></a> |
1241 <h4>Hg.vcsExport</h4> |
1258 <h4>Hg.vcsExport</h4> |
1242 <b>vcsExport</b>(<i>vcsDataDict, projectDir</i>) |
1259 <b>vcsExport</b>(<i>vcsDataDict, projectDir</i>) |
1243 <p> |
1260 <p> |
1244 Public method used to export a directory from the Subversion repository. |
1261 Public method used to export a directory from the Mercurial repository. |
1245 </p><dl> |
1262 </p><dl> |
1246 <dt><i>vcsDataDict</i></dt> |
1263 <dt><i>vcsDataDict</i></dt> |
1247 <dd> |
1264 <dd> |
1248 dictionary of data required for the checkout |
1265 dictionary of data required for the checkout |
1249 </dd><dt><i>projectDir</i></dt> |
1266 </dd><dt><i>projectDir</i></dt> |
1257 </dd> |
1274 </dd> |
1258 </dl><a NAME="Hg.vcsGetProjectBrowserHelper" ID="Hg.vcsGetProjectBrowserHelper"></a> |
1275 </dl><a NAME="Hg.vcsGetProjectBrowserHelper" ID="Hg.vcsGetProjectBrowserHelper"></a> |
1259 <h4>Hg.vcsGetProjectBrowserHelper</h4> |
1276 <h4>Hg.vcsGetProjectBrowserHelper</h4> |
1260 <b>vcsGetProjectBrowserHelper</b>(<i>browser, project, isTranslationsBrowser=False</i>) |
1277 <b>vcsGetProjectBrowserHelper</b>(<i>browser, project, isTranslationsBrowser=False</i>) |
1261 <p> |
1278 <p> |
1262 Public method to instantiate a helper object for the different project browsers. |
1279 Public method to instantiate a helper object for the different |
|
1280 project browsers. |
1263 </p><dl> |
1281 </p><dl> |
1264 <dt><i>browser</i></dt> |
1282 <dt><i>browser</i></dt> |
1265 <dd> |
1283 <dd> |
1266 reference to the project browser object |
1284 reference to the project browser object |
1267 </dd><dt><i>project</i></dt> |
1285 </dd><dt><i>project</i></dt> |
1268 <dd> |
1286 <dd> |
1269 reference to the project object |
1287 reference to the project object |
1270 </dd><dt><i>isTranslationsBrowser</i></dt> |
1288 </dd><dt><i>isTranslationsBrowser</i></dt> |
1271 <dd> |
1289 <dd> |
1272 flag indicating, the helper is requested for the |
1290 flag indicating, the helper is requested |
1273 translations browser (this needs some special treatment) |
1291 for the translations browser (this needs some special treatment) |
1274 </dd> |
1292 </dd> |
1275 </dl><dl> |
1293 </dl><dl> |
1276 <dt>Returns:</dt> |
1294 <dt>Returns:</dt> |
1277 <dd> |
1295 <dd> |
1278 the project browser helper object |
1296 the project browser helper object |
1294 </dd> |
1312 </dd> |
1295 </dl><a NAME="Hg.vcsImport" ID="Hg.vcsImport"></a> |
1313 </dl><a NAME="Hg.vcsImport" ID="Hg.vcsImport"></a> |
1296 <h4>Hg.vcsImport</h4> |
1314 <h4>Hg.vcsImport</h4> |
1297 <b>vcsImport</b>(<i>vcsDataDict, projectDir, noDialog=False</i>) |
1315 <b>vcsImport</b>(<i>vcsDataDict, projectDir, noDialog=False</i>) |
1298 <p> |
1316 <p> |
1299 Public method used to import the project into the Subversion repository. |
1317 Public method used to import the project into the Mercurial repository. |
1300 </p><dl> |
1318 </p><dl> |
1301 <dt><i>vcsDataDict</i></dt> |
1319 <dt><i>vcsDataDict</i></dt> |
1302 <dd> |
1320 <dd> |
1303 dictionary of data required for the import |
1321 dictionary of data required for the import |
1304 </dd><dt><i>projectDir</i></dt> |
1322 </dd><dt><i>projectDir</i></dt> |
1318 <h4>Hg.vcsInit</h4> |
1336 <h4>Hg.vcsInit</h4> |
1319 <b>vcsInit</b>(<i>vcsDir, noDialog=False</i>) |
1337 <b>vcsInit</b>(<i>vcsDir, noDialog=False</i>) |
1320 <p> |
1338 <p> |
1321 Public method used to initialize the mercurial repository. |
1339 Public method used to initialize the mercurial repository. |
1322 </p><p> |
1340 </p><p> |
1323 The initialization is done, when a project is converted into a Mercurial |
1341 The initialization is done, when a project is converted into a |
1324 controlled project. Therefore we always return TRUE without doing anything. |
1342 Mercurial controlled project. Therefore we always return TRUE without |
|
1343 doing anything. |
1325 </p><dl> |
1344 </p><dl> |
1326 <dt><i>vcsDir</i></dt> |
1345 <dt><i>vcsDir</i></dt> |
1327 <dd> |
1346 <dd> |
1328 name of the VCS directory (string) |
1347 name of the VCS directory (string) |
1329 </dd><dt><i>noDialog</i></dt> |
1348 </dd><dt><i>noDialog</i></dt> |
1461 </dd> |
1480 </dd> |
1462 </dl><a NAME="Hg.vcsRemove" ID="Hg.vcsRemove"></a> |
1481 </dl><a NAME="Hg.vcsRemove" ID="Hg.vcsRemove"></a> |
1463 <h4>Hg.vcsRemove</h4> |
1482 <h4>Hg.vcsRemove</h4> |
1464 <b>vcsRemove</b>(<i>name, project=False, noDialog=False</i>) |
1483 <b>vcsRemove</b>(<i>name, project=False, noDialog=False</i>) |
1465 <p> |
1484 <p> |
1466 Public method used to remove a file/directory from the Mercurial repository. |
1485 Public method used to remove a file/directory from the Mercurial |
|
1486 repository. |
1467 </p><p> |
1487 </p><p> |
1468 The default operation is to remove the local copy as well. |
1488 The default operation is to remove the local copy as well. |
1469 </p><dl> |
1489 </p><dl> |
1470 <dt><i>name</i></dt> |
1490 <dt><i>name</i></dt> |
1471 <dd> |
1491 <dd> |
1472 file/directory name to be removed (string or list of strings)) |
1492 file/directory name to be removed (string or list of |
|
1493 strings)) |
1473 </dd><dt><i>project</i></dt> |
1494 </dd><dt><i>project</i></dt> |
1474 <dd> |
1495 <dd> |
1475 flag indicating deletion of a project tree (boolean) (not needed) |
1496 flag indicating deletion of a project tree (boolean) |
|
1497 (not needed) |
1476 </dd><dt><i>noDialog</i></dt> |
1498 </dd><dt><i>noDialog</i></dt> |
1477 <dd> |
1499 <dd> |
1478 flag indicating quiet operations |
1500 flag indicating quiet operations |
1479 </dd> |
1501 </dd> |
1480 </dl><dl> |
1502 </dl><dl> |
1516 </dd> |
1538 </dd> |
1517 </dl><a NAME="Hg.vcsSwitch" ID="Hg.vcsSwitch"></a> |
1539 </dl><a NAME="Hg.vcsSwitch" ID="Hg.vcsSwitch"></a> |
1518 <h4>Hg.vcsSwitch</h4> |
1540 <h4>Hg.vcsSwitch</h4> |
1519 <b>vcsSwitch</b>(<i>name</i>) |
1541 <b>vcsSwitch</b>(<i>name</i>) |
1520 <p> |
1542 <p> |
1521 Public method used to switch a working directory to a different revision. |
1543 Public method used to switch a working directory to a different |
|
1544 revision. |
1522 </p><dl> |
1545 </p><dl> |
1523 <dt><i>name</i></dt> |
1546 <dt><i>name</i></dt> |
1524 <dd> |
1547 <dd> |
1525 directory name to be switched (string) |
1548 directory name to be switched (string) |
1526 </dd> |
1549 </dd> |
1542 </dd> |
1565 </dd> |
1543 </dl><a NAME="Hg.vcsUpdate" ID="Hg.vcsUpdate"></a> |
1566 </dl><a NAME="Hg.vcsUpdate" ID="Hg.vcsUpdate"></a> |
1544 <h4>Hg.vcsUpdate</h4> |
1567 <h4>Hg.vcsUpdate</h4> |
1545 <b>vcsUpdate</b>(<i>name, noDialog=False, revision=None</i>) |
1568 <b>vcsUpdate</b>(<i>name, noDialog=False, revision=None</i>) |
1546 <p> |
1569 <p> |
1547 Public method used to update a file/directory with the Mercurial repository. |
1570 Public method used to update a file/directory with the Mercurial |
1548 </p><dl> |
1571 repository. |
1549 <dt><i>name</i></dt> |
1572 </p><dl> |
1550 <dd> |
1573 <dt><i>name</i></dt> |
1551 file/directory name to be updated (string or list of strings) |
1574 <dd> |
|
1575 file/directory name to be updated (string or list of |
|
1576 strings) |
1552 </dd><dt><i>noDialog</i></dt> |
1577 </dd><dt><i>noDialog</i></dt> |
1553 <dd> |
1578 <dd> |
1554 flag indicating quiet operations (boolean) |
1579 flag indicating quiet operations (boolean) |
1555 </dd><dt><i>revision=</i></dt> |
1580 </dd><dt><i>revision=</i></dt> |
1556 <dd> |
1581 <dd> |