50 emitted when the list of active |
50 emitted when the list of active |
51 extensions 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><dt>iniFileChanged()</dt> |
|
56 <dd> |
|
57 emitted when a Mercurial/repo configuration file |
|
58 has changed |
55 </dd> |
59 </dd> |
56 </dl> |
60 </dl> |
57 <h3>Derived from</h3> |
61 <h3>Derived from</h3> |
58 VersionControl |
62 VersionControl |
59 <h3>Class Attributes</h3> |
63 <h3>Class Attributes</h3> |
68 <table> |
72 <table> |
69 <tr> |
73 <tr> |
70 <td><a href="#Hg.__init__">Hg</a></td> |
74 <td><a href="#Hg.__init__">Hg</a></td> |
71 <td>Constructor</td> |
75 <td>Constructor</td> |
72 </tr><tr> |
76 </tr><tr> |
|
77 <td><a href="#Hg.__checkDefaults">__checkDefaults</a></td> |
|
78 <td>Private method to check, if the default and default-push URLs have been configured.</td> |
|
79 </tr><tr> |
73 <td><a href="#Hg.__getExtensionsInfo">__getExtensionsInfo</a></td> |
80 <td><a href="#Hg.__getExtensionsInfo">__getExtensionsInfo</a></td> |
74 <td>Private method to get the active extensions from Mercurial.</td> |
81 <td>Private method to get the active extensions from Mercurial.</td> |
75 </tr><tr> |
82 </tr><tr> |
76 <td><a href="#Hg.__hgGetFileForRevision">__hgGetFileForRevision</a></td> |
83 <td><a href="#Hg.__hgGetFileForRevision">__hgGetFileForRevision</a></td> |
77 <td>Private method to get a file for a specific revision from the repository.</td> |
84 <td>Private method to get a file for a specific revision from the repository.</td> |
89 <td>Private slot performing the second step of the commit action.</td> |
96 <td>Private slot performing the second step of the commit action.</td> |
90 </tr><tr> |
97 </tr><tr> |
91 <td><a href="#Hg._createStatusMonitorThread">_createStatusMonitorThread</a></td> |
98 <td><a href="#Hg._createStatusMonitorThread">_createStatusMonitorThread</a></td> |
92 <td>Protected method to create an instance of the VCS status monitor thread.</td> |
99 <td>Protected method to create an instance of the VCS status monitor thread.</td> |
93 </tr><tr> |
100 </tr><tr> |
|
101 <td><a href="#Hg.canPull">canPull</a></td> |
|
102 <td>Public method to check, if pull is possible.</td> |
|
103 </tr><tr> |
|
104 <td><a href="#Hg.canPush">canPush</a></td> |
|
105 <td>Public method to check, if push is possible.</td> |
|
106 </tr><tr> |
94 <td><a href="#Hg.clearStatusCache">clearStatusCache</a></td> |
107 <td><a href="#Hg.clearStatusCache">clearStatusCache</a></td> |
95 <td>Public method to clear the status cache.</td> |
108 <td>Public method to clear the status cache.</td> |
96 </tr><tr> |
109 </tr><tr> |
97 <td><a href="#Hg.getClient">getClient</a></td> |
110 <td><a href="#Hg.getClient">getClient</a></td> |
98 <td>Public method to get a reference to the command server interface.</td> |
111 <td>Public method to get a reference to the command server interface.</td> |
99 </tr><tr> |
112 </tr><tr> |
|
113 <td><a href="#Hg.getEncoding">getEncoding</a></td> |
|
114 <td>Public method to get the encoding to be used by Mercurial.</td> |
|
115 </tr><tr> |
100 <td><a href="#Hg.getExtensionObject">getExtensionObject</a></td> |
116 <td><a href="#Hg.getExtensionObject">getExtensionObject</a></td> |
101 <td>Public method to get a reference to an extension object.</td> |
117 <td>Public method to get a reference to an extension object.</td> |
102 </tr><tr> |
118 </tr><tr> |
103 <td><a href="#Hg.getHgSubPath">getHgSubPath</a></td> |
119 <td><a href="#Hg.getHgSubPath">getHgSubPath</a></td> |
104 <td>Public method to get the path to the .hgsub file containing the definitions of sub-repositories.</td> |
120 <td>Public method to get the path to the .hgsub file containing the definitions of sub-repositories.</td> |
164 <td>Public method to continue copying changesets from another branch.</td> |
180 <td>Public method to continue copying changesets from another branch.</td> |
165 </tr><tr> |
181 </tr><tr> |
166 <td><a href="#Hg.hgIdentify">hgIdentify</a></td> |
182 <td><a href="#Hg.hgIdentify">hgIdentify</a></td> |
167 <td>Public method to identify the current working directory.</td> |
183 <td>Public method to identify the current working directory.</td> |
168 </tr><tr> |
184 </tr><tr> |
169 <td><a href="#Hg.hgIdentifyBundle">hgIdentifyBundle</a></td> |
|
170 <td>Public method used to identify a changegroup file.</td> |
|
171 </tr><tr> |
|
172 <td><a href="#Hg.hgImport">hgImport</a></td> |
185 <td><a href="#Hg.hgImport">hgImport</a></td> |
173 <td>Public method to import a patch file.</td> |
186 <td>Public method to import a patch file.</td> |
174 </tr><tr> |
187 </tr><tr> |
175 <td><a href="#Hg.hgIncoming">hgIncoming</a></td> |
188 <td><a href="#Hg.hgIncoming">hgIncoming</a></td> |
176 <td>Public method used to view the log of incoming changes from the Mercurial repository.</td> |
189 <td>Public method used to view the log of incoming changes from the Mercurial repository.</td> |
179 <td>Public method to show information about the heads of the repository.</td> |
192 <td>Public method to show information about the heads of the repository.</td> |
180 </tr><tr> |
193 </tr><tr> |
181 <td><a href="#Hg.hgListTagBranch">hgListTagBranch</a></td> |
194 <td><a href="#Hg.hgListTagBranch">hgListTagBranch</a></td> |
182 <td>Public method used to list the available tags or branches.</td> |
195 <td>Public method used to list the available tags or branches.</td> |
183 </tr><tr> |
196 </tr><tr> |
184 <td><a href="#Hg.hgLogBrowser">hgLogBrowser</a></td> |
|
185 <td>Public method used to browse the log of a file/directory from the Mercurial repository.</td> |
|
186 </tr><tr> |
|
187 <td><a href="#Hg.hgNormalizeURL">hgNormalizeURL</a></td> |
197 <td><a href="#Hg.hgNormalizeURL">hgNormalizeURL</a></td> |
188 <td>Public method to normalize a url for Mercurial.</td> |
198 <td>Public method to normalize a url for Mercurial.</td> |
189 </tr><tr> |
199 </tr><tr> |
190 <td><a href="#Hg.hgOutgoing">hgOutgoing</a></td> |
200 <td><a href="#Hg.hgOutgoing">hgOutgoing</a></td> |
191 <td>Public method used to view the log of outgoing changes from the Mercurial repository.</td> |
201 <td>Public method used to view the log of outgoing changes from the Mercurial repository.</td> |
239 <td>Public method to apply changegroup files.</td> |
249 <td>Public method to apply changegroup files.</td> |
240 </tr><tr> |
250 </tr><tr> |
241 <td><a href="#Hg.hgVerify">hgVerify</a></td> |
251 <td><a href="#Hg.hgVerify">hgVerify</a></td> |
242 <td>Public method to verify the integrity of the repository.</td> |
252 <td>Public method to verify the integrity of the repository.</td> |
243 </tr><tr> |
253 </tr><tr> |
|
254 <td><a href="#Hg.initCommand">initCommand</a></td> |
|
255 <td>Public method to initialize a command arguments list.</td> |
|
256 </tr><tr> |
244 <td><a href="#Hg.isExtensionActive">isExtensionActive</a></td> |
257 <td><a href="#Hg.isExtensionActive">isExtensionActive</a></td> |
245 <td>Public method to check, if an extension is active.</td> |
258 <td>Public method to check, if an extension is active.</td> |
246 </tr><tr> |
259 </tr><tr> |
247 <td><a href="#Hg.vcsAdd">vcsAdd</a></td> |
260 <td><a href="#Hg.vcsAdd">vcsAdd</a></td> |
248 <td>Public method used to add a file/directory to the Mercurial repository.</td> |
261 <td>Public method used to add a file/directory to the Mercurial repository.</td> |
296 <td>Public method to initialize the VCS configuration.</td> |
309 <td>Public method to initialize the VCS configuration.</td> |
297 </tr><tr> |
310 </tr><tr> |
298 <td><a href="#Hg.vcsLog">vcsLog</a></td> |
311 <td><a href="#Hg.vcsLog">vcsLog</a></td> |
299 <td>Public method used to view the log of a file/directory from the Mercurial repository.</td> |
312 <td>Public method used to view the log of a file/directory from the Mercurial repository.</td> |
300 </tr><tr> |
313 </tr><tr> |
|
314 <td><a href="#Hg.vcsLogBrowser">vcsLogBrowser</a></td> |
|
315 <td>Public method used to browse the log of a file/directory from the Mercurial repository.</td> |
|
316 </tr><tr> |
301 <td><a href="#Hg.vcsMerge">vcsMerge</a></td> |
317 <td><a href="#Hg.vcsMerge">vcsMerge</a></td> |
302 <td>Public method used to merge a URL/revision into the local project.</td> |
318 <td>Public method used to merge a URL/revision into the local project.</td> |
303 </tr><tr> |
319 </tr><tr> |
304 <td><a href="#Hg.vcsMove">vcsMove</a></td> |
320 <td><a href="#Hg.vcsMove">vcsMove</a></td> |
305 <td>Public method used to move a file/directory.</td> |
321 <td>Public method used to move a file/directory.</td> |
326 <td>Public method used to shutdown the Mercurial interface.</td> |
342 <td>Public method used to shutdown the Mercurial interface.</td> |
327 </tr><tr> |
343 </tr><tr> |
328 <td><a href="#Hg.vcsStatus">vcsStatus</a></td> |
344 <td><a href="#Hg.vcsStatus">vcsStatus</a></td> |
329 <td>Public method used to view the status of files/directories in the Mercurial repository.</td> |
345 <td>Public method used to view the status of files/directories in the Mercurial repository.</td> |
330 </tr><tr> |
346 </tr><tr> |
|
347 <td><a href="#Hg.vcsSupportCommandOptions">vcsSupportCommandOptions</a></td> |
|
348 <td>Public method to signal the support of user settable command options.</td> |
|
349 </tr><tr> |
331 <td><a href="#Hg.vcsSwitch">vcsSwitch</a></td> |
350 <td><a href="#Hg.vcsSwitch">vcsSwitch</a></td> |
332 <td>Public method used to switch a working directory to a different revision.</td> |
351 <td>Public method used to switch a working directory to a different revision.</td> |
333 </tr><tr> |
352 </tr><tr> |
334 <td><a href="#Hg.vcsTag">vcsTag</a></td> |
353 <td><a href="#Hg.vcsTag">vcsTag</a></td> |
335 <td>Public method used to set the tag in the Mercurial repository.</td> |
354 <td>Public method used to set/remove a tag in the Mercurial repository.</td> |
336 </tr><tr> |
355 </tr><tr> |
337 <td><a href="#Hg.vcsUpdate">vcsUpdate</a></td> |
356 <td><a href="#Hg.vcsUpdate">vcsUpdate</a></td> |
338 <td>Public method used to update a file/directory with the Mercurial repository.</td> |
357 <td>Public method used to update a file/directory with the Mercurial repository.</td> |
339 </tr> |
358 </tr> |
340 </table> |
359 </table> |
356 parent widget (QWidget) |
375 parent widget (QWidget) |
357 </dd><dt><i>name</i></dt> |
376 </dd><dt><i>name</i></dt> |
358 <dd> |
377 <dd> |
359 name of this object (string) |
378 name of this object (string) |
360 </dd> |
379 </dd> |
361 </dl><a NAME="Hg.__getExtensionsInfo" ID="Hg.__getExtensionsInfo"></a> |
380 </dl><a NAME="Hg.__checkDefaults" ID="Hg.__checkDefaults"></a> |
|
381 <h4>Hg.__checkDefaults</h4> |
|
382 <b>__checkDefaults</b>(<i></i>) |
|
383 <p> |
|
384 Private method to check, if the default and default-push URLs |
|
385 have been configured. |
|
386 </p><a NAME="Hg.__getExtensionsInfo" ID="Hg.__getExtensionsInfo"></a> |
362 <h4>Hg.__getExtensionsInfo</h4> |
387 <h4>Hg.__getExtensionsInfo</h4> |
363 <b>__getExtensionsInfo</b>(<i></i>) |
388 <b>__getExtensionsInfo</b>(<i></i>) |
364 <p> |
389 <p> |
365 Private method to get the active extensions from Mercurial. |
390 Private method to get the active extensions from Mercurial. |
366 </p><a NAME="Hg.__hgGetFileForRevision" ID="Hg.__hgGetFileForRevision"></a> |
391 </p><a NAME="Hg.__hgGetFileForRevision" ID="Hg.__hgGetFileForRevision"></a> |
441 </dl><dl> |
466 </dl><dl> |
442 <dt>Returns:</dt> |
467 <dt>Returns:</dt> |
443 <dd> |
468 <dd> |
444 reference to the monitor thread (QThread) |
469 reference to the monitor thread (QThread) |
445 </dd> |
470 </dd> |
|
471 </dl><a NAME="Hg.canPull" ID="Hg.canPull"></a> |
|
472 <h4>Hg.canPull</h4> |
|
473 <b>canPull</b>(<i></i>) |
|
474 <p> |
|
475 Public method to check, if pull is possible. |
|
476 </p><dl> |
|
477 <dt>Returns:</dt> |
|
478 <dd> |
|
479 flag indicating pull capability (boolean) |
|
480 </dd> |
|
481 </dl><a NAME="Hg.canPush" ID="Hg.canPush"></a> |
|
482 <h4>Hg.canPush</h4> |
|
483 <b>canPush</b>(<i></i>) |
|
484 <p> |
|
485 Public method to check, if push is possible. |
|
486 </p><dl> |
|
487 <dt>Returns:</dt> |
|
488 <dd> |
|
489 flag indicating push capability (boolean) |
|
490 </dd> |
446 </dl><a NAME="Hg.clearStatusCache" ID="Hg.clearStatusCache"></a> |
491 </dl><a NAME="Hg.clearStatusCache" ID="Hg.clearStatusCache"></a> |
447 <h4>Hg.clearStatusCache</h4> |
492 <h4>Hg.clearStatusCache</h4> |
448 <b>clearStatusCache</b>(<i></i>) |
493 <b>clearStatusCache</b>(<i></i>) |
449 <p> |
494 <p> |
450 Public method to clear the status cache. |
495 Public method to clear the status cache. |
456 </p><dl> |
501 </p><dl> |
457 <dt>Returns:</dt> |
502 <dt>Returns:</dt> |
458 <dd> |
503 <dd> |
459 reference to the client (HgClient) |
504 reference to the client (HgClient) |
460 </dd> |
505 </dd> |
|
506 </dl><a NAME="Hg.getEncoding" ID="Hg.getEncoding"></a> |
|
507 <h4>Hg.getEncoding</h4> |
|
508 <b>getEncoding</b>(<i></i>) |
|
509 <p> |
|
510 Public method to get the encoding to be used by Mercurial. |
|
511 </p><dl> |
|
512 <dt>Returns:</dt> |
|
513 <dd> |
|
514 encoding (string) |
|
515 </dd> |
461 </dl><a NAME="Hg.getExtensionObject" ID="Hg.getExtensionObject"></a> |
516 </dl><a NAME="Hg.getExtensionObject" ID="Hg.getExtensionObject"></a> |
462 <h4>Hg.getExtensionObject</h4> |
517 <h4>Hg.getExtensionObject</h4> |
463 <b>getExtensionObject</b>(<i>extensionName</i>) |
518 <b>getExtensionObject</b>(<i>extensionName</i>) |
464 <p> |
519 <p> |
465 Public method to get a reference to an extension object. |
520 Public method to get a reference to an extension object. |
610 <dd> |
665 <dd> |
611 flag indicating success |
666 flag indicating success |
612 </dd> |
667 </dd> |
613 </dl><a NAME="Hg.hgEditConfig" ID="Hg.hgEditConfig"></a> |
668 </dl><a NAME="Hg.hgEditConfig" ID="Hg.hgEditConfig"></a> |
614 <h4>Hg.hgEditConfig</h4> |
669 <h4>Hg.hgEditConfig</h4> |
615 <b>hgEditConfig</b>(<i>name</i>) |
670 <b>hgEditConfig</b>(<i>name, withLargefiles=True, largefilesData=None</i>) |
616 <p> |
671 <p> |
617 Public method used to edit the repository configuration file. |
672 Public method used to edit the repository configuration file. |
618 </p><dl> |
673 </p><dl> |
619 <dt><i>name</i></dt> |
674 <dt><i>name</i></dt> |
620 <dd> |
675 <dd> |
621 file/directory name (string) |
676 file/directory name (string) |
|
677 </dd><dt><i>withLargefiles</i></dt> |
|
678 <dd> |
|
679 flag indicating to configure the largefiles |
|
680 section (boolean) |
|
681 </dd><dt><i>largefilesData</i></dt> |
|
682 <dd> |
|
683 dictionary with data for the largefiles |
|
684 section of the data dialog (dict) |
622 </dd> |
685 </dd> |
623 </dl><a NAME="Hg.hgEditUserConfig" ID="Hg.hgEditUserConfig"></a> |
686 </dl><a NAME="Hg.hgEditUserConfig" ID="Hg.hgEditUserConfig"></a> |
624 <h4>Hg.hgEditUserConfig</h4> |
687 <h4>Hg.hgEditUserConfig</h4> |
625 <b>hgEditUserConfig</b>(<i></i>) |
688 <b>hgEditUserConfig</b>(<i></i>) |
626 <p> |
689 <p> |
681 <dd> |
744 <dd> |
682 list of branches (list of string) |
745 list of branches (list of string) |
683 </dd> |
746 </dd> |
684 </dl><a NAME="Hg.hgGetTagsList" ID="Hg.hgGetTagsList"></a> |
747 </dl><a NAME="Hg.hgGetTagsList" ID="Hg.hgGetTagsList"></a> |
685 <h4>Hg.hgGetTagsList</h4> |
748 <h4>Hg.hgGetTagsList</h4> |
686 <b>hgGetTagsList</b>(<i>repodir</i>) |
749 <b>hgGetTagsList</b>(<i>repodir, withType=False</i>) |
687 <p> |
750 <p> |
688 Public method to get the list of tags. |
751 Public method to get the list of tags. |
689 </p><dl> |
752 </p><dl> |
690 <dt><i>repodir</i></dt> |
753 <dt><i>repodir</i></dt> |
691 <dd> |
754 <dd> |
692 directory name of the repository (string) |
755 directory name of the repository (string) |
693 </dd> |
756 </dd><dt><i>withType</i></dt> |
694 </dl><dl> |
757 <dd> |
695 <dt>Returns:</dt> |
758 flag indicating to get the tag type as well (boolean) |
696 <dd> |
759 </dd> |
697 list of tags (list of string) |
760 </dl><dl> |
|
761 <dt>Returns:</dt> |
|
762 <dd> |
|
763 list of tags (list of string) or list of tuples of |
|
764 tag name and flag indicating a local tag (list of tuple of string |
|
765 and boolean), if withType is True |
698 </dd> |
766 </dd> |
699 </dl><a NAME="Hg.hgGraft" ID="Hg.hgGraft"></a> |
767 </dl><a NAME="Hg.hgGraft" ID="Hg.hgGraft"></a> |
700 <h4>Hg.hgGraft</h4> |
768 <h4>Hg.hgGraft</h4> |
701 <b>hgGraft</b>(<i>path, revs=None</i>) |
769 <b>hgGraft</b>(<i>path, revs=None</i>) |
702 <p> |
770 <p> |
738 </p><dl> |
806 </p><dl> |
739 <dt><i>name</i></dt> |
807 <dt><i>name</i></dt> |
740 <dd> |
808 <dd> |
741 file/directory name (string) |
809 file/directory name (string) |
742 </dd> |
810 </dd> |
743 </dl><a NAME="Hg.hgIdentifyBundle" ID="Hg.hgIdentifyBundle"></a> |
|
744 <h4>Hg.hgIdentifyBundle</h4> |
|
745 <b>hgIdentifyBundle</b>(<i>name</i>) |
|
746 <p> |
|
747 Public method used to identify a changegroup file. |
|
748 </p><dl> |
|
749 <dt><i>name</i></dt> |
|
750 <dd> |
|
751 directory name on which to base the changegroup (string) |
|
752 </dd> |
|
753 </dl><a NAME="Hg.hgImport" ID="Hg.hgImport"></a> |
811 </dl><a NAME="Hg.hgImport" ID="Hg.hgImport"></a> |
754 <h4>Hg.hgImport</h4> |
812 <h4>Hg.hgImport</h4> |
755 <b>hgImport</b>(<i>name</i>) |
813 <b>hgImport</b>(<i>name</i>) |
756 <p> |
814 <p> |
757 Public method to import a patch file. |
815 Public method to import a patch file. |
802 directory name of the project (string) |
860 directory name of the project (string) |
803 </dd><dt><i>tags</i></dt> |
861 </dd><dt><i>tags</i></dt> |
804 <dd> |
862 <dd> |
805 flag indicating listing of branches or tags |
863 flag indicating listing of branches or tags |
806 (False = branches, True = tags) |
864 (False = branches, True = tags) |
807 </dd> |
|
808 </dl><a NAME="Hg.hgLogBrowser" ID="Hg.hgLogBrowser"></a> |
|
809 <h4>Hg.hgLogBrowser</h4> |
|
810 <b>hgLogBrowser</b>(<i>path, isFile=False</i>) |
|
811 <p> |
|
812 Public method used to browse the log of a file/directory from the |
|
813 Mercurial repository. |
|
814 </p><dl> |
|
815 <dt><i>path</i></dt> |
|
816 <dd> |
|
817 file/directory name to show the log of (string) |
|
818 </dd><dt><i>isFile=</i></dt> |
|
819 <dd> |
|
820 flag indicating log for a file is to be shown |
|
821 (boolean) |
|
822 </dd> |
865 </dd> |
823 </dl><a NAME="Hg.hgNormalizeURL" ID="Hg.hgNormalizeURL"></a> |
866 </dl><a NAME="Hg.hgNormalizeURL" ID="Hg.hgNormalizeURL"></a> |
824 <h4>Hg.hgNormalizeURL</h4> |
867 <h4>Hg.hgNormalizeURL</h4> |
825 <b>hgNormalizeURL</b>(<i>url</i>) |
868 <b>hgNormalizeURL</b>(<i>url</i>) |
826 <p> |
869 <p> |
1026 <dd> |
1069 <dd> |
1027 file/directory name (string) |
1070 file/directory name (string) |
1028 </dd> |
1071 </dd> |
1029 </dl><a NAME="Hg.hgSummary" ID="Hg.hgSummary"></a> |
1072 </dl><a NAME="Hg.hgSummary" ID="Hg.hgSummary"></a> |
1030 <h4>Hg.hgSummary</h4> |
1073 <h4>Hg.hgSummary</h4> |
1031 <b>hgSummary</b>(<i>mq=False</i>) |
1074 <b>hgSummary</b>(<i>mq=False, largefiles=False</i>) |
1032 <p> |
1075 <p> |
1033 Public method used to show some summary information of the |
1076 Public method used to show some summary information of the |
1034 working directory state. |
1077 working directory state. |
1035 </p><dl> |
1078 </p><dl> |
1036 <dt><i>mq</i></dt> |
1079 <dt><i>mq</i></dt> |
1037 <dd> |
1080 <dd> |
1038 flag indicating to show the queue status as well (boolean) |
1081 flag indicating to show the queue status as well (boolean) |
|
1082 </dd><dt><i>largefiles</i></dt> |
|
1083 <dd> |
|
1084 flag indicating to show the largefiles status as |
|
1085 well (boolean) |
1039 </dd> |
1086 </dd> |
1040 </dl><a NAME="Hg.hgUnbundle" ID="Hg.hgUnbundle"></a> |
1087 </dl><a NAME="Hg.hgUnbundle" ID="Hg.hgUnbundle"></a> |
1041 <h4>Hg.hgUnbundle</h4> |
1088 <h4>Hg.hgUnbundle</h4> |
1042 <b>hgUnbundle</b>(<i>name</i>) |
1089 <b>hgUnbundle</b>(<i>name</i>) |
1043 <p> |
1090 <p> |
1060 Public method to verify the integrity of the repository. |
1107 Public method to verify the integrity of the repository. |
1061 </p><dl> |
1108 </p><dl> |
1062 <dt><i>name</i></dt> |
1109 <dt><i>name</i></dt> |
1063 <dd> |
1110 <dd> |
1064 file/directory name (string) |
1111 file/directory name (string) |
|
1112 </dd> |
|
1113 </dl><a NAME="Hg.initCommand" ID="Hg.initCommand"></a> |
|
1114 <h4>Hg.initCommand</h4> |
|
1115 <b>initCommand</b>(<i>command</i>) |
|
1116 <p> |
|
1117 Public method to initialize a command arguments list. |
|
1118 </p><dl> |
|
1119 <dt><i>command</i></dt> |
|
1120 <dd> |
|
1121 command name (string) |
|
1122 </dd> |
|
1123 </dl><dl> |
|
1124 <dt>Returns:</dt> |
|
1125 <dd> |
|
1126 list of command options (list of string) |
1065 </dd> |
1127 </dd> |
1066 </dl><a NAME="Hg.isExtensionActive" ID="Hg.isExtensionActive"></a> |
1128 </dl><a NAME="Hg.isExtensionActive" ID="Hg.isExtensionActive"></a> |
1067 <h4>Hg.isExtensionActive</h4> |
1129 <h4>Hg.isExtensionActive</h4> |
1068 <b>isExtensionActive</b>(<i>extensionName</i>) |
1130 <b>isExtensionActive</b>(<i>extensionName</i>) |
1069 <p> |
1131 <p> |
1375 </p><dl> |
1437 </p><dl> |
1376 <dt><i>name</i></dt> |
1438 <dt><i>name</i></dt> |
1377 <dd> |
1439 <dd> |
1378 file/directory name to show the log of (string) |
1440 file/directory name to show the log of (string) |
1379 </dd> |
1441 </dd> |
|
1442 </dl><a NAME="Hg.vcsLogBrowser" ID="Hg.vcsLogBrowser"></a> |
|
1443 <h4>Hg.vcsLogBrowser</h4> |
|
1444 <b>vcsLogBrowser</b>(<i>name, isFile=False</i>) |
|
1445 <p> |
|
1446 Public method used to browse the log of a file/directory from the |
|
1447 Mercurial repository. |
|
1448 </p><dl> |
|
1449 <dt><i>name</i></dt> |
|
1450 <dd> |
|
1451 file/directory name to show the log of (string) |
|
1452 </dd><dt><i>isFile=</i></dt> |
|
1453 <dd> |
|
1454 flag indicating log for a file is to be shown |
|
1455 (boolean) |
|
1456 </dd> |
1380 </dl><a NAME="Hg.vcsMerge" ID="Hg.vcsMerge"></a> |
1457 </dl><a NAME="Hg.vcsMerge" ID="Hg.vcsMerge"></a> |
1381 <h4>Hg.vcsMerge</h4> |
1458 <h4>Hg.vcsMerge</h4> |
1382 <b>vcsMerge</b>(<i>name</i>) |
1459 <b>vcsMerge</b>(<i>name</i>) |
1383 <p> |
1460 <p> |
1384 Public method used to merge a URL/revision into the local project. |
1461 Public method used to merge a URL/revision into the local project. |
1534 <dt><i>name</i></dt> |
1611 <dt><i>name</i></dt> |
1535 <dd> |
1612 <dd> |
1536 file/directory name(s) to show the status of |
1613 file/directory name(s) to show the status of |
1537 (string or list of strings) |
1614 (string or list of strings) |
1538 </dd> |
1615 </dd> |
|
1616 </dl><a NAME="Hg.vcsSupportCommandOptions" ID="Hg.vcsSupportCommandOptions"></a> |
|
1617 <h4>Hg.vcsSupportCommandOptions</h4> |
|
1618 <b>vcsSupportCommandOptions</b>(<i></i>) |
|
1619 <p> |
|
1620 Public method to signal the support of user settable command options. |
|
1621 </p><dl> |
|
1622 <dt>Returns:</dt> |
|
1623 <dd> |
|
1624 flag indicating the support of user settable command options |
|
1625 (boolean) |
|
1626 </dd> |
1539 </dl><a NAME="Hg.vcsSwitch" ID="Hg.vcsSwitch"></a> |
1627 </dl><a NAME="Hg.vcsSwitch" ID="Hg.vcsSwitch"></a> |
1540 <h4>Hg.vcsSwitch</h4> |
1628 <h4>Hg.vcsSwitch</h4> |
1541 <b>vcsSwitch</b>(<i>name</i>) |
1629 <b>vcsSwitch</b>(<i>name</i>) |
1542 <p> |
1630 <p> |
1543 Public method used to switch a working directory to a different |
1631 Public method used to switch a working directory to a different |
1553 flag indicating, that the switch contained an add |
1641 flag indicating, that the switch contained an add |
1554 or delete (boolean) |
1642 or delete (boolean) |
1555 </dd> |
1643 </dd> |
1556 </dl><a NAME="Hg.vcsTag" ID="Hg.vcsTag"></a> |
1644 </dl><a NAME="Hg.vcsTag" ID="Hg.vcsTag"></a> |
1557 <h4>Hg.vcsTag</h4> |
1645 <h4>Hg.vcsTag</h4> |
1558 <b>vcsTag</b>(<i>name</i>) |
1646 <b>vcsTag</b>(<i>name, revision=None, tagName=None</i>) |
1559 <p> |
1647 <p> |
1560 Public method used to set the tag in the Mercurial repository. |
1648 Public method used to set/remove a tag in the Mercurial repository. |
1561 </p><dl> |
1649 </p><dl> |
1562 <dt><i>name</i></dt> |
1650 <dt><i>name</i></dt> |
1563 <dd> |
1651 <dd> |
1564 file/directory name to be tagged (string) |
1652 file/directory name to determine the repo root from |
|
1653 (string) |
|
1654 </dd><dt><i>revision</i></dt> |
|
1655 <dd> |
|
1656 revision to set tag for (string) |
|
1657 </dd><dt><i>tagName</i></dt> |
|
1658 <dd> |
|
1659 name of the tag (string) |
|
1660 </dd> |
|
1661 </dl><dl> |
|
1662 <dt>Returns:</dt> |
|
1663 <dd> |
|
1664 flag indicating a performed tag action (boolean) |
1565 </dd> |
1665 </dd> |
1566 </dl><a NAME="Hg.vcsUpdate" ID="Hg.vcsUpdate"></a> |
1666 </dl><a NAME="Hg.vcsUpdate" ID="Hg.vcsUpdate"></a> |
1567 <h4>Hg.vcsUpdate</h4> |
1667 <h4>Hg.vcsUpdate</h4> |
1568 <b>vcsUpdate</b>(<i>name, noDialog=False, revision=None</i>) |
1668 <b>vcsUpdate</b>(<i>name, noDialog=False, revision=None</i>) |
1569 <p> |
1669 <p> |