5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.hg</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.hg</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the version control systems interface to Mercurial. |
11 Module implementing the version control systems interface to Mercurial. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#Hg">Hg</a></td> |
22 <td><a href="#Hg">Hg</a></td> |
25 <td>Class implementing the version control systems interface to Mercurial.</td> |
23 <td>Class implementing the version control systems interface to Mercurial.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="Hg" ID="Hg"></a> |
34 <a NAME="Hg" ID="Hg"></a> |
36 <h2>Hg</h2> |
35 <h2>Hg</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the version control systems interface to Mercurial. |
37 Class implementing the version control systems interface to Mercurial. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Signals</h3> |
40 <h3>Signals</h3> |
42 <dl> |
41 <dl> |
43 |
42 |
44 <dt>activeExtensionsChanged()</dt> |
43 <dt>activeExtensionsChanged()</dt> |
45 <dd> |
44 <dd> |
547 <tr> |
544 <tr> |
548 <td><a href="#Hg.vcsUpdate">vcsUpdate</a></td> |
545 <td><a href="#Hg.vcsUpdate">vcsUpdate</a></td> |
549 <td>Public method used to update a file/directory with the Mercurial repository.</td> |
546 <td>Public method used to update a file/directory with the Mercurial repository.</td> |
550 </tr> |
547 </tr> |
551 </table> |
548 </table> |
|
549 |
552 <h3>Static Methods</h3> |
550 <h3>Static Methods</h3> |
553 |
|
554 <table> |
551 <table> |
555 <tr><td>None</td></tr> |
552 <tr><td>None</td></tr> |
556 </table> |
553 </table> |
557 |
554 |
|
555 |
558 <a NAME="Hg.__init__" ID="Hg.__init__"></a> |
556 <a NAME="Hg.__init__" ID="Hg.__init__"></a> |
559 <h4>Hg (Constructor)</h4> |
557 <h4>Hg (Constructor)</h4> |
560 <b>Hg</b>(<i>plugin, parent=None, name=None</i>) |
558 <b>Hg</b>(<i>plugin, parent=None, name=None</i>) |
561 |
|
562 <p> |
559 <p> |
563 Constructor |
560 Constructor |
564 </p> |
561 </p> |
|
562 |
565 <dl> |
563 <dl> |
566 |
564 |
567 <dt><i>plugin</i> (VcsMercurialPlugin)</dt> |
565 <dt><i>plugin</i> (VcsMercurialPlugin)</dt> |
568 <dd> |
566 <dd> |
569 reference to the plugin object |
567 reference to the plugin object |
578 </dd> |
576 </dd> |
579 </dl> |
577 </dl> |
580 <a NAME="Hg.__checkDefaults" ID="Hg.__checkDefaults"></a> |
578 <a NAME="Hg.__checkDefaults" ID="Hg.__checkDefaults"></a> |
581 <h4>Hg.__checkDefaults</h4> |
579 <h4>Hg.__checkDefaults</h4> |
582 <b>__checkDefaults</b>(<i></i>) |
580 <b>__checkDefaults</b>(<i></i>) |
583 |
|
584 <p> |
581 <p> |
585 Private method to check, if the default and default-push URLs |
582 Private method to check, if the default and default-push URLs |
586 have been configured. |
583 have been configured. |
587 </p> |
584 </p> |
|
585 |
588 <a NAME="Hg.__createClient" ID="Hg.__createClient"></a> |
586 <a NAME="Hg.__createClient" ID="Hg.__createClient"></a> |
589 <h4>Hg.__createClient</h4> |
587 <h4>Hg.__createClient</h4> |
590 <b>__createClient</b>(<i>repodir=""</i>) |
588 <b>__createClient</b>(<i>repodir=""</i>) |
591 |
|
592 <p> |
589 <p> |
593 Private method to create a Mercurial command server client. |
590 Private method to create a Mercurial command server client. |
594 </p> |
591 </p> |
|
592 |
595 <dl> |
593 <dl> |
596 |
594 |
597 <dt><i>repodir</i> (str)</dt> |
595 <dt><i>repodir</i> (str)</dt> |
598 <dd> |
596 <dd> |
599 path of the local repository |
597 path of the local repository |
600 </dd> |
598 </dd> |
601 </dl> |
599 </dl> |
602 <a NAME="Hg.__getExtensionsInfo" ID="Hg.__getExtensionsInfo"></a> |
600 <a NAME="Hg.__getExtensionsInfo" ID="Hg.__getExtensionsInfo"></a> |
603 <h4>Hg.__getExtensionsInfo</h4> |
601 <h4>Hg.__getExtensionsInfo</h4> |
604 <b>__getExtensionsInfo</b>(<i></i>) |
602 <b>__getExtensionsInfo</b>(<i></i>) |
605 |
|
606 <p> |
603 <p> |
607 Private method to get the active extensions from Mercurial. |
604 Private method to get the active extensions from Mercurial. |
608 </p> |
605 </p> |
|
606 |
609 <a NAME="Hg.__getInOutBookmarks" ID="Hg.__getInOutBookmarks"></a> |
607 <a NAME="Hg.__getInOutBookmarks" ID="Hg.__getInOutBookmarks"></a> |
610 <h4>Hg.__getInOutBookmarks</h4> |
608 <h4>Hg.__getInOutBookmarks</h4> |
611 <b>__getInOutBookmarks</b>(<i>incoming</i>) |
609 <b>__getInOutBookmarks</b>(<i>incoming</i>) |
612 |
|
613 <p> |
610 <p> |
614 Private method to get the list of incoming or outgoing bookmarks. |
611 Private method to get the list of incoming or outgoing bookmarks. |
615 </p> |
612 </p> |
|
613 |
616 <dl> |
614 <dl> |
617 |
615 |
618 <dt><i>incoming</i> (bool)</dt> |
616 <dt><i>incoming</i> (bool)</dt> |
619 <dd> |
617 <dd> |
620 flag indicating to get incoming bookmarks |
618 flag indicating to get incoming bookmarks |
717 </dd> |
715 </dd> |
718 </dl> |
716 </dl> |
719 <a NAME="Hg.__iniFileChanged" ID="Hg.__iniFileChanged"></a> |
717 <a NAME="Hg.__iniFileChanged" ID="Hg.__iniFileChanged"></a> |
720 <h4>Hg.__iniFileChanged</h4> |
718 <h4>Hg.__iniFileChanged</h4> |
721 <b>__iniFileChanged</b>(<i>path</i>) |
719 <b>__iniFileChanged</b>(<i>path</i>) |
722 |
|
723 <p> |
720 <p> |
724 Private slot to handle a change of the Mercurial configuration file. |
721 Private slot to handle a change of the Mercurial configuration file. |
725 </p> |
722 </p> |
|
723 |
726 <dl> |
724 <dl> |
727 |
725 |
728 <dt><i>path</i> (str)</dt> |
726 <dt><i>path</i> (str)</dt> |
729 <dd> |
727 <dd> |
730 name of the changed file |
728 name of the changed file |
731 </dd> |
729 </dd> |
732 </dl> |
730 </dl> |
733 <a NAME="Hg.__monitorRepoIniFile" ID="Hg.__monitorRepoIniFile"></a> |
731 <a NAME="Hg.__monitorRepoIniFile" ID="Hg.__monitorRepoIniFile"></a> |
734 <h4>Hg.__monitorRepoIniFile</h4> |
732 <h4>Hg.__monitorRepoIniFile</h4> |
735 <b>__monitorRepoIniFile</b>(<i>repodir</i>) |
733 <b>__monitorRepoIniFile</b>(<i>repodir</i>) |
736 |
|
737 <p> |
734 <p> |
738 Private slot to add a repository configuration file to the list of |
735 Private slot to add a repository configuration file to the list of |
739 monitored files. |
736 monitored files. |
740 </p> |
737 </p> |
|
738 |
741 <dl> |
739 <dl> |
742 |
740 |
743 <dt><i>repodir</i> (str)</dt> |
741 <dt><i>repodir</i> (str)</dt> |
744 <dd> |
742 <dd> |
745 directory name of the repository |
743 directory name of the repository |
746 </dd> |
744 </dd> |
747 </dl> |
745 </dl> |
748 <a NAME="Hg.__vcsCommit_Step2" ID="Hg.__vcsCommit_Step2"></a> |
746 <a NAME="Hg.__vcsCommit_Step2" ID="Hg.__vcsCommit_Step2"></a> |
749 <h4>Hg.__vcsCommit_Step2</h4> |
747 <h4>Hg.__vcsCommit_Step2</h4> |
750 <b>__vcsCommit_Step2</b>(<i></i>) |
748 <b>__vcsCommit_Step2</b>(<i></i>) |
751 |
|
752 <p> |
749 <p> |
753 Private slot performing the second step of the commit action. |
750 Private slot performing the second step of the commit action. |
754 </p> |
751 </p> |
|
752 |
755 <a NAME="Hg._createStatusMonitorThread" ID="Hg._createStatusMonitorThread"></a> |
753 <a NAME="Hg._createStatusMonitorThread" ID="Hg._createStatusMonitorThread"></a> |
756 <h4>Hg._createStatusMonitorThread</h4> |
754 <h4>Hg._createStatusMonitorThread</h4> |
757 <b>_createStatusMonitorThread</b>(<i>interval, project</i>) |
755 <b>_createStatusMonitorThread</b>(<i>interval, project</i>) |
758 |
|
759 <p> |
756 <p> |
760 Protected method to create an instance of the VCS status monitor |
757 Protected method to create an instance of the VCS status monitor |
761 thread. |
758 thread. |
762 </p> |
759 </p> |
|
760 |
763 <dl> |
761 <dl> |
764 |
762 |
765 <dt><i>interval</i> (int)</dt> |
763 <dt><i>interval</i> (int)</dt> |
766 <dd> |
764 <dd> |
767 check interval for the monitor thread in seconds |
765 check interval for the monitor thread in seconds |
842 </dd> |
840 </dd> |
843 </dl> |
841 </dl> |
844 <a NAME="Hg.clearStatusCache" ID="Hg.clearStatusCache"></a> |
842 <a NAME="Hg.clearStatusCache" ID="Hg.clearStatusCache"></a> |
845 <h4>Hg.clearStatusCache</h4> |
843 <h4>Hg.clearStatusCache</h4> |
846 <b>clearStatusCache</b>(<i></i>) |
844 <b>clearStatusCache</b>(<i></i>) |
847 |
|
848 <p> |
845 <p> |
849 Public method to clear the status cache. |
846 Public method to clear the status cache. |
850 </p> |
847 </p> |
|
848 |
851 <a NAME="Hg.getClient" ID="Hg.getClient"></a> |
849 <a NAME="Hg.getClient" ID="Hg.getClient"></a> |
852 <h4>Hg.getClient</h4> |
850 <h4>Hg.getClient</h4> |
853 <b>getClient</b>(<i></i>) |
851 <b>getClient</b>(<i></i>) |
854 |
|
855 <p> |
852 <p> |
856 Public method to get a reference to the command server interface. |
853 Public method to get a reference to the command server interface. |
857 </p> |
854 </p> |
|
855 |
858 <dl> |
856 <dl> |
859 <dt>Return:</dt> |
857 <dt>Return:</dt> |
860 <dd> |
858 <dd> |
861 reference to the client |
859 reference to the client |
862 </dd> |
860 </dd> |
990 </dd> |
988 </dd> |
991 </dl> |
989 </dl> |
992 <a NAME="Hg.hgAddSubrepository" ID="Hg.hgAddSubrepository"></a> |
990 <a NAME="Hg.hgAddSubrepository" ID="Hg.hgAddSubrepository"></a> |
993 <h4>Hg.hgAddSubrepository</h4> |
991 <h4>Hg.hgAddSubrepository</h4> |
994 <b>hgAddSubrepository</b>(<i></i>) |
992 <b>hgAddSubrepository</b>(<i></i>) |
995 |
|
996 <p> |
993 <p> |
997 Public method to add a sub-repository. |
994 Public method to add a sub-repository. |
998 </p> |
995 </p> |
|
996 |
999 <a NAME="Hg.hgAnnotate" ID="Hg.hgAnnotate"></a> |
997 <a NAME="Hg.hgAnnotate" ID="Hg.hgAnnotate"></a> |
1000 <h4>Hg.hgAnnotate</h4> |
998 <h4>Hg.hgAnnotate</h4> |
1001 <b>hgAnnotate</b>(<i>name, skiplist=""</i>) |
999 <b>hgAnnotate</b>(<i>name, skiplist=""</i>) |
1002 |
|
1003 <p> |
1000 <p> |
1004 Public method to show the output of the hg annotate command. |
1001 Public method to show the output of the hg annotate command. |
1005 </p> |
1002 </p> |
|
1003 |
1006 <dl> |
1004 <dl> |
1007 |
1005 |
1008 <dt><i>name</i> (str)</dt> |
1006 <dt><i>name</i> (str)</dt> |
1009 <dd> |
1007 <dd> |
1010 file name to show the annotations for |
1008 file name to show the annotations for |
1015 </dd> |
1013 </dd> |
1016 </dl> |
1014 </dl> |
1017 <a NAME="Hg.hgArchive" ID="Hg.hgArchive"></a> |
1015 <a NAME="Hg.hgArchive" ID="Hg.hgArchive"></a> |
1018 <h4>Hg.hgArchive</h4> |
1016 <h4>Hg.hgArchive</h4> |
1019 <b>hgArchive</b>(<i></i>) |
1017 <b>hgArchive</b>(<i></i>) |
1020 |
|
1021 <p> |
1018 <p> |
1022 Public method to create an unversioned archive from the repository. |
1019 Public method to create an unversioned archive from the repository. |
1023 </p> |
1020 </p> |
|
1021 |
1024 <a NAME="Hg.hgBackout" ID="Hg.hgBackout"></a> |
1022 <a NAME="Hg.hgBackout" ID="Hg.hgBackout"></a> |
1025 <h4>Hg.hgBackout</h4> |
1023 <h4>Hg.hgBackout</h4> |
1026 <b>hgBackout</b>(<i></i>) |
1024 <b>hgBackout</b>(<i></i>) |
1027 |
|
1028 <p> |
1025 <p> |
1029 Public method used to backout an earlier changeset from the Mercurial |
1026 Public method used to backout an earlier changeset from the Mercurial |
1030 repository. |
1027 repository. |
1031 </p> |
1028 </p> |
|
1029 |
1032 <a NAME="Hg.hgBisect" ID="Hg.hgBisect"></a> |
1030 <a NAME="Hg.hgBisect" ID="Hg.hgBisect"></a> |
1033 <h4>Hg.hgBisect</h4> |
1031 <h4>Hg.hgBisect</h4> |
1034 <b>hgBisect</b>(<i>subcommand</i>) |
1032 <b>hgBisect</b>(<i>subcommand</i>) |
1035 |
|
1036 <p> |
1033 <p> |
1037 Public method to perform bisect commands. |
1034 Public method to perform bisect commands. |
1038 </p> |
1035 </p> |
|
1036 |
1039 <dl> |
1037 <dl> |
1040 |
1038 |
1041 <dt><i>subcommand</i> (str)</dt> |
1039 <dt><i>subcommand</i> (str)</dt> |
1042 <dd> |
1040 <dd> |
1043 name of the subcommand (one of 'good', 'bad', |
1041 name of the subcommand (one of 'good', 'bad', |
1070 </dd> |
1068 </dd> |
1071 </dl> |
1069 </dl> |
1072 <a NAME="Hg.hgBookmarkDelete" ID="Hg.hgBookmarkDelete"></a> |
1070 <a NAME="Hg.hgBookmarkDelete" ID="Hg.hgBookmarkDelete"></a> |
1073 <h4>Hg.hgBookmarkDelete</h4> |
1071 <h4>Hg.hgBookmarkDelete</h4> |
1074 <b>hgBookmarkDelete</b>(<i>bookmark=None</i>) |
1072 <b>hgBookmarkDelete</b>(<i>bookmark=None</i>) |
1075 |
|
1076 <p> |
1073 <p> |
1077 Public method to delete a bookmark. |
1074 Public method to delete a bookmark. |
1078 </p> |
1075 </p> |
|
1076 |
1079 <dl> |
1077 <dl> |
1080 |
1078 |
1081 <dt><i>bookmark</i> (str)</dt> |
1079 <dt><i>bookmark</i> (str)</dt> |
1082 <dd> |
1080 <dd> |
1083 name of the bookmark |
1081 name of the bookmark |
1084 </dd> |
1082 </dd> |
1085 </dl> |
1083 </dl> |
1086 <a NAME="Hg.hgBookmarkIncoming" ID="Hg.hgBookmarkIncoming"></a> |
1084 <a NAME="Hg.hgBookmarkIncoming" ID="Hg.hgBookmarkIncoming"></a> |
1087 <h4>Hg.hgBookmarkIncoming</h4> |
1085 <h4>Hg.hgBookmarkIncoming</h4> |
1088 <b>hgBookmarkIncoming</b>(<i></i>) |
1086 <b>hgBookmarkIncoming</b>(<i></i>) |
1089 |
|
1090 <p> |
1087 <p> |
1091 Public method to show a list of incoming bookmarks. |
1088 Public method to show a list of incoming bookmarks. |
1092 </p> |
1089 </p> |
|
1090 |
1093 <a NAME="Hg.hgBookmarkMove" ID="Hg.hgBookmarkMove"></a> |
1091 <a NAME="Hg.hgBookmarkMove" ID="Hg.hgBookmarkMove"></a> |
1094 <h4>Hg.hgBookmarkMove</h4> |
1092 <h4>Hg.hgBookmarkMove</h4> |
1095 <b>hgBookmarkMove</b>(<i>revision=None, bookmark=None</i>) |
1093 <b>hgBookmarkMove</b>(<i>revision=None, bookmark=None</i>) |
1096 |
|
1097 <p> |
1094 <p> |
1098 Public method to move a bookmark. |
1095 Public method to move a bookmark. |
1099 </p> |
1096 </p> |
|
1097 |
1100 <dl> |
1098 <dl> |
1101 |
1099 |
1102 <dt><i>revision</i> (str)</dt> |
1100 <dt><i>revision</i> (str)</dt> |
1103 <dd> |
1101 <dd> |
1104 revision to set bookmark for |
1102 revision to set bookmark for |
1109 </dd> |
1107 </dd> |
1110 </dl> |
1108 </dl> |
1111 <a NAME="Hg.hgBookmarkOutgoing" ID="Hg.hgBookmarkOutgoing"></a> |
1109 <a NAME="Hg.hgBookmarkOutgoing" ID="Hg.hgBookmarkOutgoing"></a> |
1112 <h4>Hg.hgBookmarkOutgoing</h4> |
1110 <h4>Hg.hgBookmarkOutgoing</h4> |
1113 <b>hgBookmarkOutgoing</b>(<i></i>) |
1111 <b>hgBookmarkOutgoing</b>(<i></i>) |
1114 |
|
1115 <p> |
1112 <p> |
1116 Public method to show a list of outgoing bookmarks. |
1113 Public method to show a list of outgoing bookmarks. |
1117 </p> |
1114 </p> |
|
1115 |
1118 <a NAME="Hg.hgBookmarkPull" ID="Hg.hgBookmarkPull"></a> |
1116 <a NAME="Hg.hgBookmarkPull" ID="Hg.hgBookmarkPull"></a> |
1119 <h4>Hg.hgBookmarkPull</h4> |
1117 <h4>Hg.hgBookmarkPull</h4> |
1120 <b>hgBookmarkPull</b>(<i>current=False, bookmark=None</i>) |
1118 <b>hgBookmarkPull</b>(<i>current=False, bookmark=None</i>) |
1121 |
|
1122 <p> |
1119 <p> |
1123 Public method to pull a bookmark from a remote repository. |
1120 Public method to pull a bookmark from a remote repository. |
1124 </p> |
1121 </p> |
|
1122 |
1125 <dl> |
1123 <dl> |
1126 |
1124 |
1127 <dt><i>current</i> (bool)</dt> |
1125 <dt><i>current</i> (bool)</dt> |
1128 <dd> |
1126 <dd> |
1129 flag indicating to pull the current bookmark |
1127 flag indicating to pull the current bookmark |
1156 </dd> |
1154 </dd> |
1157 </dl> |
1155 </dl> |
1158 <a NAME="Hg.hgBookmarkRename" ID="Hg.hgBookmarkRename"></a> |
1156 <a NAME="Hg.hgBookmarkRename" ID="Hg.hgBookmarkRename"></a> |
1159 <h4>Hg.hgBookmarkRename</h4> |
1157 <h4>Hg.hgBookmarkRename</h4> |
1160 <b>hgBookmarkRename</b>(<i>renameInfo=None</i>) |
1158 <b>hgBookmarkRename</b>(<i>renameInfo=None</i>) |
1161 |
|
1162 <p> |
1159 <p> |
1163 Public method to rename a bookmark. |
1160 Public method to rename a bookmark. |
1164 </p> |
1161 </p> |
|
1162 |
1165 <dl> |
1163 <dl> |
1166 |
1164 |
1167 <dt><i>renameInfo</i> (tuple of str and str)</dt> |
1165 <dt><i>renameInfo</i> (tuple of str and str)</dt> |
1168 <dd> |
1166 <dd> |
1169 old and new names of the bookmark |
1167 old and new names of the bookmark |
1170 </dd> |
1168 </dd> |
1171 </dl> |
1169 </dl> |
1172 <a NAME="Hg.hgBranch" ID="Hg.hgBranch"></a> |
1170 <a NAME="Hg.hgBranch" ID="Hg.hgBranch"></a> |
1173 <h4>Hg.hgBranch</h4> |
1171 <h4>Hg.hgBranch</h4> |
1174 <b>hgBranch</b>(<i></i>) |
1172 <b>hgBranch</b>(<i></i>) |
1175 |
|
1176 <p> |
1173 <p> |
1177 Public method used to create a branch in the Mercurial repository. |
1174 Public method used to create a branch in the Mercurial repository. |
1178 </p> |
1175 </p> |
|
1176 |
1179 <a NAME="Hg.hgBundle" ID="Hg.hgBundle"></a> |
1177 <a NAME="Hg.hgBundle" ID="Hg.hgBundle"></a> |
1180 <h4>Hg.hgBundle</h4> |
1178 <h4>Hg.hgBundle</h4> |
1181 <b>hgBundle</b>(<i>bundleData=None</i>) |
1179 <b>hgBundle</b>(<i>bundleData=None</i>) |
1182 |
|
1183 <p> |
1180 <p> |
1184 Public method to create a changegroup file. |
1181 Public method to create a changegroup file. |
1185 </p> |
1182 </p> |
|
1183 |
1186 <dl> |
1184 <dl> |
1187 |
1185 |
1188 <dt><i>bundleData</i> (dict)</dt> |
1186 <dt><i>bundleData</i> (dict)</dt> |
1189 <dd> |
1187 <dd> |
1190 dictionary containing the bundle creation information |
1188 dictionary containing the bundle creation information |
1191 </dd> |
1189 </dd> |
1192 </dl> |
1190 </dl> |
1193 <a NAME="Hg.hgConflicts" ID="Hg.hgConflicts"></a> |
1191 <a NAME="Hg.hgConflicts" ID="Hg.hgConflicts"></a> |
1194 <h4>Hg.hgConflicts</h4> |
1192 <h4>Hg.hgConflicts</h4> |
1195 <b>hgConflicts</b>(<i></i>) |
1193 <b>hgConflicts</b>(<i></i>) |
1196 |
|
1197 <p> |
1194 <p> |
1198 Public method used to show a list of files containing conflicts. |
1195 Public method used to show a list of files containing conflicts. |
1199 </p> |
1196 </p> |
|
1197 |
1200 <a NAME="Hg.hgCopy" ID="Hg.hgCopy"></a> |
1198 <a NAME="Hg.hgCopy" ID="Hg.hgCopy"></a> |
1201 <h4>Hg.hgCopy</h4> |
1199 <h4>Hg.hgCopy</h4> |
1202 <b>hgCopy</b>(<i>name, project</i>) |
1200 <b>hgCopy</b>(<i>name, project</i>) |
1203 |
|
1204 <p> |
1201 <p> |
1205 Public method used to copy a file/directory. |
1202 Public method used to copy a file/directory. |
1206 </p> |
1203 </p> |
|
1204 |
1207 <dl> |
1205 <dl> |
1208 |
1206 |
1209 <dt><i>name</i> (str)</dt> |
1207 <dt><i>name</i> (str)</dt> |
1210 <dd> |
1208 <dd> |
1211 file/directory name to be copied |
1209 file/directory name to be copied |
1258 </dd> |
1256 </dd> |
1259 </dl> |
1257 </dl> |
1260 <a NAME="Hg.hgDeleteBackups" ID="Hg.hgDeleteBackups"></a> |
1258 <a NAME="Hg.hgDeleteBackups" ID="Hg.hgDeleteBackups"></a> |
1261 <h4>Hg.hgDeleteBackups</h4> |
1259 <h4>Hg.hgDeleteBackups</h4> |
1262 <b>hgDeleteBackups</b>(<i></i>) |
1260 <b>hgDeleteBackups</b>(<i></i>) |
1263 |
|
1264 <p> |
1261 <p> |
1265 Public method to delete all backup bundles in the backup area. |
1262 Public method to delete all backup bundles in the backup area. |
1266 </p> |
1263 </p> |
|
1264 |
1267 <a NAME="Hg.hgEditConfig" ID="Hg.hgEditConfig"></a> |
1265 <a NAME="Hg.hgEditConfig" ID="Hg.hgEditConfig"></a> |
1268 <h4>Hg.hgEditConfig</h4> |
1266 <h4>Hg.hgEditConfig</h4> |
1269 <b>hgEditConfig</b>(<i>repoName=None, withLargefiles=True, largefilesData=None</i>) |
1267 <b>hgEditConfig</b>(<i>repoName=None, withLargefiles=True, largefilesData=None</i>) |
1270 |
|
1271 <p> |
1268 <p> |
1272 Public method used to edit the repository configuration file. |
1269 Public method used to edit the repository configuration file. |
1273 </p> |
1270 </p> |
|
1271 |
1274 <dl> |
1272 <dl> |
1275 |
1273 |
1276 <dt><i>repoName</i> (str)</dt> |
1274 <dt><i>repoName</i> (str)</dt> |
1277 <dd> |
1275 <dd> |
1278 directory name containing the repository |
1276 directory name containing the repository |
1289 </dd> |
1287 </dd> |
1290 </dl> |
1288 </dl> |
1291 <a NAME="Hg.hgEditUserConfig" ID="Hg.hgEditUserConfig"></a> |
1289 <a NAME="Hg.hgEditUserConfig" ID="Hg.hgEditUserConfig"></a> |
1292 <h4>Hg.hgEditUserConfig</h4> |
1290 <h4>Hg.hgEditUserConfig</h4> |
1293 <b>hgEditUserConfig</b>(<i></i>) |
1291 <b>hgEditUserConfig</b>(<i></i>) |
1294 |
|
1295 <p> |
1292 <p> |
1296 Public method used to edit the user configuration file. |
1293 Public method used to edit the user configuration file. |
1297 </p> |
1294 </p> |
|
1295 |
1298 <a NAME="Hg.hgExport" ID="Hg.hgExport"></a> |
1296 <a NAME="Hg.hgExport" ID="Hg.hgExport"></a> |
1299 <h4>Hg.hgExport</h4> |
1297 <h4>Hg.hgExport</h4> |
1300 <b>hgExport</b>(<i></i>) |
1298 <b>hgExport</b>(<i></i>) |
1301 |
|
1302 <p> |
1299 <p> |
1303 Public method to export patches to files. |
1300 Public method to export patches to files. |
1304 </p> |
1301 </p> |
|
1302 |
1305 <a NAME="Hg.hgExtendedDiff" ID="Hg.hgExtendedDiff"></a> |
1303 <a NAME="Hg.hgExtendedDiff" ID="Hg.hgExtendedDiff"></a> |
1306 <h4>Hg.hgExtendedDiff</h4> |
1304 <h4>Hg.hgExtendedDiff</h4> |
1307 <b>hgExtendedDiff</b>(<i>name</i>) |
1305 <b>hgExtendedDiff</b>(<i>name</i>) |
1308 |
|
1309 <p> |
1306 <p> |
1310 Public method used to view the difference of a file/directory to the |
1307 Public method used to view the difference of a file/directory to the |
1311 Mercurial repository. |
1308 Mercurial repository. |
1312 </p> |
1309 </p> |
1313 <p> |
1310 <p> |
1509 </dd> |
1507 </dd> |
1510 </dl> |
1508 </dl> |
1511 <a NAME="Hg.hgIdentify" ID="Hg.hgIdentify"></a> |
1509 <a NAME="Hg.hgIdentify" ID="Hg.hgIdentify"></a> |
1512 <h4>Hg.hgIdentify</h4> |
1510 <h4>Hg.hgIdentify</h4> |
1513 <b>hgIdentify</b>(<i></i>) |
1511 <b>hgIdentify</b>(<i></i>) |
1514 |
|
1515 <p> |
1512 <p> |
1516 Public method to identify the current working directory. |
1513 Public method to identify the current working directory. |
1517 </p> |
1514 </p> |
|
1515 |
1518 <a NAME="Hg.hgImport" ID="Hg.hgImport"></a> |
1516 <a NAME="Hg.hgImport" ID="Hg.hgImport"></a> |
1519 <h4>Hg.hgImport</h4> |
1517 <h4>Hg.hgImport</h4> |
1520 <b>hgImport</b>(<i></i>) |
1518 <b>hgImport</b>(<i></i>) |
1521 |
|
1522 <p> |
1519 <p> |
1523 Public method to import a patch file. |
1520 Public method to import a patch file. |
1524 </p> |
1521 </p> |
|
1522 |
1525 <dl> |
1523 <dl> |
1526 <dt>Return:</dt> |
1524 <dt>Return:</dt> |
1527 <dd> |
1525 <dd> |
1528 flag indicating, that the import contained an add, a delete |
1526 flag indicating, that the import contained an add, a delete |
1529 or a change to the project file |
1527 or a change to the project file |
1536 </dd> |
1534 </dd> |
1537 </dl> |
1535 </dl> |
1538 <a NAME="Hg.hgIncoming" ID="Hg.hgIncoming"></a> |
1536 <a NAME="Hg.hgIncoming" ID="Hg.hgIncoming"></a> |
1539 <h4>Hg.hgIncoming</h4> |
1537 <h4>Hg.hgIncoming</h4> |
1540 <b>hgIncoming</b>(<i></i>) |
1538 <b>hgIncoming</b>(<i></i>) |
1541 |
|
1542 <p> |
1539 <p> |
1543 Public method used to view the log of incoming changes from the |
1540 Public method used to view the log of incoming changes from the |
1544 Mercurial repository. |
1541 Mercurial repository. |
1545 </p> |
1542 </p> |
|
1543 |
1546 <a NAME="Hg.hgInfo" ID="Hg.hgInfo"></a> |
1544 <a NAME="Hg.hgInfo" ID="Hg.hgInfo"></a> |
1547 <h4>Hg.hgInfo</h4> |
1545 <h4>Hg.hgInfo</h4> |
1548 <b>hgInfo</b>(<i>mode="heads"</i>) |
1546 <b>hgInfo</b>(<i>mode="heads"</i>) |
1549 |
|
1550 <p> |
1547 <p> |
1551 Public method to show information about the heads of the repository. |
1548 Public method to show information about the heads of the repository. |
1552 </p> |
1549 </p> |
|
1550 |
1553 <dl> |
1551 <dl> |
1554 |
1552 |
1555 <dt><i>mode</i> (str)</dt> |
1553 <dt><i>mode</i> (str)</dt> |
1556 <dd> |
1554 <dd> |
1557 mode of the operation (one of 'heads', 'parents', 'tip') |
1555 mode of the operation (one of 'heads', 'parents', 'tip') |
1558 </dd> |
1556 </dd> |
1559 </dl> |
1557 </dl> |
1560 <a NAME="Hg.hgListBookmarks" ID="Hg.hgListBookmarks"></a> |
1558 <a NAME="Hg.hgListBookmarks" ID="Hg.hgListBookmarks"></a> |
1561 <h4>Hg.hgListBookmarks</h4> |
1559 <h4>Hg.hgListBookmarks</h4> |
1562 <b>hgListBookmarks</b>(<i></i>) |
1560 <b>hgListBookmarks</b>(<i></i>) |
1563 |
|
1564 <p> |
1561 <p> |
1565 Public method used to list the available bookmarks. |
1562 Public method used to list the available bookmarks. |
1566 </p> |
1563 </p> |
|
1564 |
1567 <a NAME="Hg.hgListTagBranch" ID="Hg.hgListTagBranch"></a> |
1565 <a NAME="Hg.hgListTagBranch" ID="Hg.hgListTagBranch"></a> |
1568 <h4>Hg.hgListTagBranch</h4> |
1566 <h4>Hg.hgListTagBranch</h4> |
1569 <b>hgListTagBranch</b>(<i>tags=True</i>) |
1567 <b>hgListTagBranch</b>(<i>tags=True</i>) |
1570 |
|
1571 <p> |
1568 <p> |
1572 Public method used to list the available tags or branches. |
1569 Public method used to list the available tags or branches. |
1573 </p> |
1570 </p> |
|
1571 |
1574 <dl> |
1572 <dl> |
1575 |
1573 |
1576 <dt><i>tags</i> (bool)</dt> |
1574 <dt><i>tags</i> (bool)</dt> |
1577 <dd> |
1575 <dd> |
1578 flag indicating listing of branches or tags |
1576 flag indicating listing of branches or tags |
1606 </dd> |
1604 </dd> |
1607 </dl> |
1605 </dl> |
1608 <a NAME="Hg.hgOutgoing" ID="Hg.hgOutgoing"></a> |
1606 <a NAME="Hg.hgOutgoing" ID="Hg.hgOutgoing"></a> |
1609 <h4>Hg.hgOutgoing</h4> |
1607 <h4>Hg.hgOutgoing</h4> |
1610 <b>hgOutgoing</b>(<i></i>) |
1608 <b>hgOutgoing</b>(<i></i>) |
1611 |
|
1612 <p> |
1609 <p> |
1613 Public method used to view the log of outgoing changes from the |
1610 Public method used to view the log of outgoing changes from the |
1614 Mercurial repository. |
1611 Mercurial repository. |
1615 </p> |
1612 </p> |
|
1613 |
1616 <a NAME="Hg.hgPhase" ID="Hg.hgPhase"></a> |
1614 <a NAME="Hg.hgPhase" ID="Hg.hgPhase"></a> |
1617 <h4>Hg.hgPhase</h4> |
1615 <h4>Hg.hgPhase</h4> |
1618 <b>hgPhase</b>(<i>data=None</i>) |
1616 <b>hgPhase</b>(<i>data=None</i>) |
1619 |
|
1620 <p> |
1617 <p> |
1621 Public method to change the phase of revisions. |
1618 Public method to change the phase of revisions. |
1622 </p> |
1619 </p> |
|
1620 |
1623 <dl> |
1621 <dl> |
1624 |
1622 |
1625 <dt><i>data</i> (tuple of (list of str, str, bool))</dt> |
1623 <dt><i>data</i> (tuple of (list of str, str, bool))</dt> |
1626 <dd> |
1624 <dd> |
1627 tuple giving phase data (list of revisions, phase, flag |
1625 tuple giving phase data (list of revisions, phase, flag |
1648 </dd> |
1646 </dd> |
1649 </dl> |
1647 </dl> |
1650 <a NAME="Hg.hgPreviewBundle" ID="Hg.hgPreviewBundle"></a> |
1648 <a NAME="Hg.hgPreviewBundle" ID="Hg.hgPreviewBundle"></a> |
1651 <h4>Hg.hgPreviewBundle</h4> |
1649 <h4>Hg.hgPreviewBundle</h4> |
1652 <b>hgPreviewBundle</b>(<i></i>) |
1650 <b>hgPreviewBundle</b>(<i></i>) |
1653 |
|
1654 <p> |
1651 <p> |
1655 Public method used to view the log of incoming changes from a |
1652 Public method used to view the log of incoming changes from a |
1656 changegroup file. |
1653 changegroup file. |
1657 </p> |
1654 </p> |
|
1655 |
1658 <a NAME="Hg.hgPull" ID="Hg.hgPull"></a> |
1656 <a NAME="Hg.hgPull" ID="Hg.hgPull"></a> |
1659 <h4>Hg.hgPull</h4> |
1657 <h4>Hg.hgPull</h4> |
1660 <b>hgPull</b>(<i>revisions=None</i>) |
1658 <b>hgPull</b>(<i>revisions=None</i>) |
1661 |
|
1662 <p> |
1659 <p> |
1663 Public method used to pull changes from a remote Mercurial repository. |
1660 Public method used to pull changes from a remote Mercurial repository. |
1664 </p> |
1661 </p> |
|
1662 |
1665 <dl> |
1663 <dl> |
1666 |
1664 |
1667 <dt><i>revisions</i> (list of str)</dt> |
1665 <dt><i>revisions</i> (list of str)</dt> |
1668 <dd> |
1666 <dd> |
1669 list of revisions to be pulled |
1667 list of revisions to be pulled |
1705 </dd> |
1703 </dd> |
1706 </dl> |
1704 </dl> |
1707 <a NAME="Hg.hgReMerge" ID="Hg.hgReMerge"></a> |
1705 <a NAME="Hg.hgReMerge" ID="Hg.hgReMerge"></a> |
1708 <h4>Hg.hgReMerge</h4> |
1706 <h4>Hg.hgReMerge</h4> |
1709 <b>hgReMerge</b>(<i>name</i>) |
1707 <b>hgReMerge</b>(<i>name</i>) |
1710 |
|
1711 <p> |
1708 <p> |
1712 Public method used to merge a URL/revision into the local project. |
1709 Public method used to merge a URL/revision into the local project. |
1713 </p> |
1710 </p> |
|
1711 |
1714 <dl> |
1712 <dl> |
1715 |
1713 |
1716 <dt><i>name</i> (str)</dt> |
1714 <dt><i>name</i> (str)</dt> |
1717 <dd> |
1715 <dd> |
1718 file/directory name to be merged |
1716 file/directory name to be merged |
1719 </dd> |
1717 </dd> |
1720 </dl> |
1718 </dl> |
1721 <a NAME="Hg.hgRecover" ID="Hg.hgRecover"></a> |
1719 <a NAME="Hg.hgRecover" ID="Hg.hgRecover"></a> |
1722 <h4>Hg.hgRecover</h4> |
1720 <h4>Hg.hgRecover</h4> |
1723 <b>hgRecover</b>(<i></i>) |
1721 <b>hgRecover</b>(<i></i>) |
1724 |
|
1725 <p> |
1722 <p> |
1726 Public method to recover an interrupted transaction. |
1723 Public method to recover an interrupted transaction. |
1727 </p> |
1724 </p> |
|
1725 |
1728 <a NAME="Hg.hgRemoveSubrepositories" ID="Hg.hgRemoveSubrepositories"></a> |
1726 <a NAME="Hg.hgRemoveSubrepositories" ID="Hg.hgRemoveSubrepositories"></a> |
1729 <h4>Hg.hgRemoveSubrepositories</h4> |
1727 <h4>Hg.hgRemoveSubrepositories</h4> |
1730 <b>hgRemoveSubrepositories</b>(<i></i>) |
1728 <b>hgRemoveSubrepositories</b>(<i></i>) |
1731 |
|
1732 <p> |
1729 <p> |
1733 Public method to remove sub-repositories. |
1730 Public method to remove sub-repositories. |
1734 </p> |
1731 </p> |
|
1732 |
1735 <a NAME="Hg.hgRollback" ID="Hg.hgRollback"></a> |
1733 <a NAME="Hg.hgRollback" ID="Hg.hgRollback"></a> |
1736 <h4>Hg.hgRollback</h4> |
1734 <h4>Hg.hgRollback</h4> |
1737 <b>hgRollback</b>(<i></i>) |
1735 <b>hgRollback</b>(<i></i>) |
1738 |
|
1739 <p> |
1736 <p> |
1740 Public method used to rollback the last transaction. |
1737 Public method used to rollback the last transaction. |
1741 </p> |
1738 </p> |
|
1739 |
1742 <a NAME="Hg.hgServe" ID="Hg.hgServe"></a> |
1740 <a NAME="Hg.hgServe" ID="Hg.hgServe"></a> |
1743 <h4>Hg.hgServe</h4> |
1741 <h4>Hg.hgServe</h4> |
1744 <b>hgServe</b>(<i>repoPath</i>) |
1742 <b>hgServe</b>(<i>repoPath</i>) |
1745 |
|
1746 <p> |
1743 <p> |
1747 Public method used to serve the project. |
1744 Public method used to serve the project. |
1748 </p> |
1745 </p> |
|
1746 |
1749 <dl> |
1747 <dl> |
1750 |
1748 |
1751 <dt><i>repoPath</i> (str)</dt> |
1749 <dt><i>repoPath</i> (str)</dt> |
1752 <dd> |
1750 <dd> |
1753 directory containing the repository |
1751 directory containing the repository |
1754 </dd> |
1752 </dd> |
1755 </dl> |
1753 </dl> |
1756 <a NAME="Hg.hgShowBranch" ID="Hg.hgShowBranch"></a> |
1754 <a NAME="Hg.hgShowBranch" ID="Hg.hgShowBranch"></a> |
1757 <h4>Hg.hgShowBranch</h4> |
1755 <h4>Hg.hgShowBranch</h4> |
1758 <b>hgShowBranch</b>(<i></i>) |
1756 <b>hgShowBranch</b>(<i></i>) |
1759 |
|
1760 <p> |
1757 <p> |
1761 Public method used to show the current branch of the working directory. |
1758 Public method used to show the current branch of the working directory. |
1762 </p> |
1759 </p> |
|
1760 |
1763 <a NAME="Hg.hgShowConfig" ID="Hg.hgShowConfig"></a> |
1761 <a NAME="Hg.hgShowConfig" ID="Hg.hgShowConfig"></a> |
1764 <h4>Hg.hgShowConfig</h4> |
1762 <h4>Hg.hgShowConfig</h4> |
1765 <b>hgShowConfig</b>(<i></i>) |
1763 <b>hgShowConfig</b>(<i></i>) |
1766 |
|
1767 <p> |
1764 <p> |
1768 Public method to show the combined configuration. |
1765 Public method to show the combined configuration. |
1769 </p> |
1766 </p> |
|
1767 |
1770 <a NAME="Hg.hgShowPaths" ID="Hg.hgShowPaths"></a> |
1768 <a NAME="Hg.hgShowPaths" ID="Hg.hgShowPaths"></a> |
1771 <h4>Hg.hgShowPaths</h4> |
1769 <h4>Hg.hgShowPaths</h4> |
1772 <b>hgShowPaths</b>(<i></i>) |
1770 <b>hgShowPaths</b>(<i></i>) |
1773 |
|
1774 <p> |
1771 <p> |
1775 Public method to show the path aliases for remote repositories. |
1772 Public method to show the path aliases for remote repositories. |
1776 </p> |
1773 </p> |
|
1774 |
1777 <a NAME="Hg.hgSummary" ID="Hg.hgSummary"></a> |
1775 <a NAME="Hg.hgSummary" ID="Hg.hgSummary"></a> |
1778 <h4>Hg.hgSummary</h4> |
1776 <h4>Hg.hgSummary</h4> |
1779 <b>hgSummary</b>(<i>mq=False, largefiles=False</i>) |
1777 <b>hgSummary</b>(<i>mq=False, largefiles=False</i>) |
1780 |
|
1781 <p> |
1778 <p> |
1782 Public method used to show some summary information of the |
1779 Public method used to show some summary information of the |
1783 working directory state. |
1780 working directory state. |
1784 </p> |
1781 </p> |
|
1782 |
1785 <dl> |
1783 <dl> |
1786 |
1784 |
1787 <dt><i>mq</i> (bool)</dt> |
1785 <dt><i>mq</i> (bool)</dt> |
1788 <dd> |
1786 <dd> |
1789 flag indicating to show the queue status as well |
1787 flag indicating to show the queue status as well |
1822 </dd> |
1820 </dd> |
1823 </dl> |
1821 </dl> |
1824 <a NAME="Hg.hgVerify" ID="Hg.hgVerify"></a> |
1822 <a NAME="Hg.hgVerify" ID="Hg.hgVerify"></a> |
1825 <h4>Hg.hgVerify</h4> |
1823 <h4>Hg.hgVerify</h4> |
1826 <b>hgVerify</b>(<i></i>) |
1824 <b>hgVerify</b>(<i></i>) |
1827 |
|
1828 <p> |
1825 <p> |
1829 Public method to verify the integrity of the repository. |
1826 Public method to verify the integrity of the repository. |
1830 </p> |
1827 </p> |
|
1828 |
1831 <a NAME="Hg.initCommand" ID="Hg.initCommand"></a> |
1829 <a NAME="Hg.initCommand" ID="Hg.initCommand"></a> |
1832 <h4>Hg.initCommand</h4> |
1830 <h4>Hg.initCommand</h4> |
1833 <b>initCommand</b>(<i>command</i>) |
1831 <b>initCommand</b>(<i>command</i>) |
1834 |
|
1835 <p> |
1832 <p> |
1836 Public method to initialize a command arguments list. |
1833 Public method to initialize a command arguments list. |
1837 </p> |
1834 </p> |
|
1835 |
1838 <dl> |
1836 <dl> |
1839 |
1837 |
1840 <dt><i>command</i> (str)</dt> |
1838 <dt><i>command</i> (str)</dt> |
1841 <dd> |
1839 <dd> |
1842 command name |
1840 command name |
1881 </dd> |
1879 </dd> |
1882 </dl> |
1880 </dl> |
1883 <a NAME="Hg.stopClient" ID="Hg.stopClient"></a> |
1881 <a NAME="Hg.stopClient" ID="Hg.stopClient"></a> |
1884 <h4>Hg.stopClient</h4> |
1882 <h4>Hg.stopClient</h4> |
1885 <b>stopClient</b>(<i></i>) |
1883 <b>stopClient</b>(<i></i>) |
1886 |
|
1887 <p> |
1884 <p> |
1888 Public method to stop the command server client. |
1885 Public method to stop the command server client. |
1889 </p> |
1886 </p> |
|
1887 |
1890 <a NAME="Hg.vcsAdd" ID="Hg.vcsAdd"></a> |
1888 <a NAME="Hg.vcsAdd" ID="Hg.vcsAdd"></a> |
1891 <h4>Hg.vcsAdd</h4> |
1889 <h4>Hg.vcsAdd</h4> |
1892 <b>vcsAdd</b>(<i>name, isDir=False, noDialog=False</i>) |
1890 <b>vcsAdd</b>(<i>name, isDir=False, noDialog=False</i>) |
1893 |
|
1894 <p> |
1891 <p> |
1895 Public method used to add a file/directory to the Mercurial repository. |
1892 Public method used to add a file/directory to the Mercurial repository. |
1896 </p> |
1893 </p> |
|
1894 |
1897 <dl> |
1895 <dl> |
1898 |
1896 |
1899 <dt><i>name</i> (str)</dt> |
1897 <dt><i>name</i> (str)</dt> |
1900 <dd> |
1898 <dd> |
1901 file/directory name to be added |
1899 file/directory name to be added |
1929 </dd> |
1927 </dd> |
1930 </dl> |
1928 </dl> |
1931 <a NAME="Hg.vcsAddCommitMessage" ID="Hg.vcsAddCommitMessage"></a> |
1929 <a NAME="Hg.vcsAddCommitMessage" ID="Hg.vcsAddCommitMessage"></a> |
1932 <h4>Hg.vcsAddCommitMessage</h4> |
1930 <h4>Hg.vcsAddCommitMessage</h4> |
1933 <b>vcsAddCommitMessage</b>(<i>message</i>) |
1931 <b>vcsAddCommitMessage</b>(<i>message</i>) |
1934 |
|
1935 <p> |
1932 <p> |
1936 Public method to add a commit message to the list of saved messages. |
1933 Public method to add a commit message to the list of saved messages. |
1937 </p> |
1934 </p> |
|
1935 |
1938 <dl> |
1936 <dl> |
1939 |
1937 |
1940 <dt><i>message</i> (str)</dt> |
1938 <dt><i>message</i> (str)</dt> |
1941 <dd> |
1939 <dd> |
1942 message to be added |
1940 message to be added |
1943 </dd> |
1941 </dd> |
1944 </dl> |
1942 </dl> |
1945 <a NAME="Hg.vcsAddTree" ID="Hg.vcsAddTree"></a> |
1943 <a NAME="Hg.vcsAddTree" ID="Hg.vcsAddTree"></a> |
1946 <h4>Hg.vcsAddTree</h4> |
1944 <h4>Hg.vcsAddTree</h4> |
1947 <b>vcsAddTree</b>(<i>path</i>) |
1945 <b>vcsAddTree</b>(<i>path</i>) |
1948 |
|
1949 <p> |
1946 <p> |
1950 Public method to add a directory tree rooted at path to the Mercurial |
1947 Public method to add a directory tree rooted at path to the Mercurial |
1951 repository. |
1948 repository. |
1952 </p> |
1949 </p> |
|
1950 |
1953 <dl> |
1951 <dl> |
1954 |
1952 |
1955 <dt><i>path</i> (str or list of str)</dt> |
1953 <dt><i>path</i> (str or list of str)</dt> |
1956 <dd> |
1954 <dd> |
1957 root directory of the tree to be added |
1955 root directory of the tree to be added |
1958 </dd> |
1956 </dd> |
1959 </dl> |
1957 </dl> |
1960 <a NAME="Hg.vcsAllRegisteredStates" ID="Hg.vcsAllRegisteredStates"></a> |
1958 <a NAME="Hg.vcsAllRegisteredStates" ID="Hg.vcsAllRegisteredStates"></a> |
1961 <h4>Hg.vcsAllRegisteredStates</h4> |
1959 <h4>Hg.vcsAllRegisteredStates</h4> |
1962 <b>vcsAllRegisteredStates</b>(<i>names, dname, shortcut=True</i>) |
1960 <b>vcsAllRegisteredStates</b>(<i>names, dname, shortcut=True</i>) |
1963 |
|
1964 <p> |
1961 <p> |
1965 Public method used to get the registered states of a number of files |
1962 Public method used to get the registered states of a number of files |
1966 in the vcs. |
1963 in the vcs. |
1967 </p> |
1964 </p> |
1968 <p> |
1965 <p> |
1969 <b>Note:</b> If a shortcut is to be taken, the code will only check, |
1966 <b>Note:</b> If a shortcut is to be taken, the code will only check, |
1970 if the named directory has been scanned already. If so, it is assumed, |
1967 if the named directory has been scanned already. If so, it is assumed, |
1971 that the states for all files have been populated by the previous run. |
1968 that the states for all files have been populated by the previous run. |
1972 </p> |
1969 </p> |
|
1970 |
1973 <dl> |
1971 <dl> |
1974 |
1972 |
1975 <dt><i>names</i> (dict)</dt> |
1973 <dt><i>names</i> (dict)</dt> |
1976 <dd> |
1974 <dd> |
1977 dictionary with all filenames to be checked as keys |
1975 dictionary with all filenames to be checked as keys |
2034 </dd> |
2032 </dd> |
2035 </dl> |
2033 </dl> |
2036 <a NAME="Hg.vcsCleanup" ID="Hg.vcsCleanup"></a> |
2034 <a NAME="Hg.vcsCleanup" ID="Hg.vcsCleanup"></a> |
2037 <h4>Hg.vcsCleanup</h4> |
2035 <h4>Hg.vcsCleanup</h4> |
2038 <b>vcsCleanup</b>(<i>name</i>) |
2036 <b>vcsCleanup</b>(<i>name</i>) |
2039 |
|
2040 <p> |
2037 <p> |
2041 Public method used to cleanup the working directory. |
2038 Public method used to cleanup the working directory. |
2042 </p> |
2039 </p> |
|
2040 |
2043 <dl> |
2041 <dl> |
2044 |
2042 |
2045 <dt><i>name</i> (str)</dt> |
2043 <dt><i>name</i> (str)</dt> |
2046 <dd> |
2044 <dd> |
2047 directory name to be cleaned up |
2045 directory name to be cleaned up |
2048 </dd> |
2046 </dd> |
2049 </dl> |
2047 </dl> |
2050 <a NAME="Hg.vcsClearCommitMessages" ID="Hg.vcsClearCommitMessages"></a> |
2048 <a NAME="Hg.vcsClearCommitMessages" ID="Hg.vcsClearCommitMessages"></a> |
2051 <h4>Hg.vcsClearCommitMessages</h4> |
2049 <h4>Hg.vcsClearCommitMessages</h4> |
2052 <b>vcsClearCommitMessages</b>(<i></i>) |
2050 <b>vcsClearCommitMessages</b>(<i></i>) |
2053 |
|
2054 <p> |
2051 <p> |
2055 Public method to clear the list of saved messages. |
2052 Public method to clear the list of saved messages. |
2056 </p> |
2053 </p> |
|
2054 |
2057 <a NAME="Hg.vcsCommandLine" ID="Hg.vcsCommandLine"></a> |
2055 <a NAME="Hg.vcsCommandLine" ID="Hg.vcsCommandLine"></a> |
2058 <h4>Hg.vcsCommandLine</h4> |
2056 <h4>Hg.vcsCommandLine</h4> |
2059 <b>vcsCommandLine</b>(<i>name</i>) |
2057 <b>vcsCommandLine</b>(<i>name</i>) |
2060 |
|
2061 <p> |
2058 <p> |
2062 Public method used to execute arbitrary mercurial commands. |
2059 Public method used to execute arbitrary mercurial commands. |
2063 </p> |
2060 </p> |
|
2061 |
2064 <dl> |
2062 <dl> |
2065 |
2063 |
2066 <dt><i>name</i> (str)</dt> |
2064 <dt><i>name</i> (str)</dt> |
2067 <dd> |
2065 <dd> |
2068 directory name of the working directory |
2066 directory name of the working directory |
2069 </dd> |
2067 </dd> |
2070 </dl> |
2068 </dl> |
2071 <a NAME="Hg.vcsCommit" ID="Hg.vcsCommit"></a> |
2069 <a NAME="Hg.vcsCommit" ID="Hg.vcsCommit"></a> |
2072 <h4>Hg.vcsCommit</h4> |
2070 <h4>Hg.vcsCommit</h4> |
2073 <b>vcsCommit</b>(<i>name, message, noDialog=False, closeBranch=False, mq=False, merge=False</i>) |
2071 <b>vcsCommit</b>(<i>name, message, noDialog=False, closeBranch=False, mq=False, merge=False</i>) |
2074 |
|
2075 <p> |
2072 <p> |
2076 Public method used to make the change of a file/directory permanent |
2073 Public method used to make the change of a file/directory permanent |
2077 in the Mercurial repository. |
2074 in the Mercurial repository. |
2078 </p> |
2075 </p> |
|
2076 |
2079 <dl> |
2077 <dl> |
2080 |
2078 |
2081 <dt><i>name</i> (str or list of str)</dt> |
2079 <dt><i>name</i> (str or list of str)</dt> |
2082 <dd> |
2080 <dd> |
2083 file/directory name to be committed |
2081 file/directory name to be committed |
2146 </dd> |
2144 </dd> |
2147 </dl> |
2145 </dl> |
2148 <a NAME="Hg.vcsDiff" ID="Hg.vcsDiff"></a> |
2146 <a NAME="Hg.vcsDiff" ID="Hg.vcsDiff"></a> |
2149 <h4>Hg.vcsDiff</h4> |
2147 <h4>Hg.vcsDiff</h4> |
2150 <b>vcsDiff</b>(<i>name</i>) |
2148 <b>vcsDiff</b>(<i>name</i>) |
2151 |
|
2152 <p> |
2149 <p> |
2153 Public method used to view the difference of a file/directory to the |
2150 Public method used to view the difference of a file/directory to the |
2154 Mercurial repository. |
2151 Mercurial repository. |
2155 </p> |
2152 </p> |
2156 <p> |
2153 <p> |
2157 If name is a directory and is the project directory, all project files |
2154 If name is a directory and is the project directory, all project files |
2158 are saved first. If name is a file (or list of files), which is/are |
2155 are saved first. If name is a file (or list of files), which is/are |
2159 being edited and has unsaved modification, they can be saved or the |
2156 being edited and has unsaved modification, they can be saved or the |
2160 operation may be aborted. |
2157 operation may be aborted. |
2161 </p> |
2158 </p> |
|
2159 |
2162 <dl> |
2160 <dl> |
2163 |
2161 |
2164 <dt><i>name</i> (str)</dt> |
2162 <dt><i>name</i> (str)</dt> |
2165 <dd> |
2163 <dd> |
2166 file/directory name to be diffed |
2164 file/directory name to be diffed |
2167 </dd> |
2165 </dd> |
2168 </dl> |
2166 </dl> |
2169 <a NAME="Hg.vcsExists" ID="Hg.vcsExists"></a> |
2167 <a NAME="Hg.vcsExists" ID="Hg.vcsExists"></a> |
2170 <h4>Hg.vcsExists</h4> |
2168 <h4>Hg.vcsExists</h4> |
2171 <b>vcsExists</b>(<i></i>) |
2169 <b>vcsExists</b>(<i></i>) |
2172 |
|
2173 <p> |
2170 <p> |
2174 Public method used to test for the presence of the hg executable. |
2171 Public method used to test for the presence of the hg executable. |
2175 </p> |
2172 </p> |
|
2173 |
2176 <dl> |
2174 <dl> |
2177 <dt>Return:</dt> |
2175 <dt>Return:</dt> |
2178 <dd> |
2176 <dd> |
2179 flag indicating the existence and an error message |
2177 flag indicating the existence and an error message |
2180 </dd> |
2178 </dd> |
2216 </dd> |
2214 </dd> |
2217 </dl> |
2215 </dl> |
2218 <a NAME="Hg.vcsForget" ID="Hg.vcsForget"></a> |
2216 <a NAME="Hg.vcsForget" ID="Hg.vcsForget"></a> |
2219 <h4>Hg.vcsForget</h4> |
2217 <h4>Hg.vcsForget</h4> |
2220 <b>vcsForget</b>(<i>name</i>) |
2218 <b>vcsForget</b>(<i>name</i>) |
2221 |
|
2222 <p> |
2219 <p> |
2223 Public method used to remove a file from the Mercurial repository. |
2220 Public method used to remove a file from the Mercurial repository. |
2224 </p> |
2221 </p> |
2225 <p> |
2222 <p> |
2226 This will not remove the file from the project directory. |
2223 This will not remove the file from the project directory. |
2227 </p> |
2224 </p> |
|
2225 |
2228 <dl> |
2226 <dl> |
2229 |
2227 |
2230 <dt><i>name</i> (str or list of str)</dt> |
2228 <dt><i>name</i> (str or list of str)</dt> |
2231 <dd> |
2229 <dd> |
2232 file/directory name to be removed |
2230 file/directory name to be removed |
2233 </dd> |
2231 </dd> |
2234 </dl> |
2232 </dl> |
2235 <a NAME="Hg.vcsGetProjectBrowserHelper" ID="Hg.vcsGetProjectBrowserHelper"></a> |
2233 <a NAME="Hg.vcsGetProjectBrowserHelper" ID="Hg.vcsGetProjectBrowserHelper"></a> |
2236 <h4>Hg.vcsGetProjectBrowserHelper</h4> |
2234 <h4>Hg.vcsGetProjectBrowserHelper</h4> |
2237 <b>vcsGetProjectBrowserHelper</b>(<i>browser, project, isTranslationsBrowser=False</i>) |
2235 <b>vcsGetProjectBrowserHelper</b>(<i>browser, project, isTranslationsBrowser=False</i>) |
2238 |
|
2239 <p> |
2236 <p> |
2240 Public method to instantiate a helper object for the different |
2237 Public method to instantiate a helper object for the different |
2241 project browsers. |
2238 project browsers. |
2242 </p> |
2239 </p> |
|
2240 |
2243 <dl> |
2241 <dl> |
2244 |
2242 |
2245 <dt><i>browser</i> (ProjectBaseBrowser)</dt> |
2243 <dt><i>browser</i> (ProjectBaseBrowser)</dt> |
2246 <dd> |
2244 <dd> |
2247 reference to the project browser object |
2245 reference to the project browser object |
2369 </dd> |
2367 </dd> |
2370 </dl> |
2368 </dl> |
2371 <a NAME="Hg.vcsInitConfig" ID="Hg.vcsInitConfig"></a> |
2369 <a NAME="Hg.vcsInitConfig" ID="Hg.vcsInitConfig"></a> |
2372 <h4>Hg.vcsInitConfig</h4> |
2370 <h4>Hg.vcsInitConfig</h4> |
2373 <b>vcsInitConfig</b>(<i>project</i>) |
2371 <b>vcsInitConfig</b>(<i>project</i>) |
2374 |
|
2375 <p> |
2372 <p> |
2376 Public method to initialize the VCS configuration. |
2373 Public method to initialize the VCS configuration. |
2377 </p> |
2374 </p> |
2378 <p> |
2375 <p> |
2379 This method ensures, that an ignore file exists. |
2376 This method ensures, that an ignore file exists. |
2380 </p> |
2377 </p> |
|
2378 |
2381 <dl> |
2379 <dl> |
2382 |
2380 |
2383 <dt><i>project</i> (Project)</dt> |
2381 <dt><i>project</i> (Project)</dt> |
2384 <dd> |
2382 <dd> |
2385 reference to the project |
2383 reference to the project |
2386 </dd> |
2384 </dd> |
2387 </dl> |
2385 </dl> |
2388 <a NAME="Hg.vcsLogBrowser" ID="Hg.vcsLogBrowser"></a> |
2386 <a NAME="Hg.vcsLogBrowser" ID="Hg.vcsLogBrowser"></a> |
2389 <h4>Hg.vcsLogBrowser</h4> |
2387 <h4>Hg.vcsLogBrowser</h4> |
2390 <b>vcsLogBrowser</b>(<i>name=None, isFile=False</i>) |
2388 <b>vcsLogBrowser</b>(<i>name=None, isFile=False</i>) |
2391 |
|
2392 <p> |
2389 <p> |
2393 Public method used to browse the log of a file/directory from the |
2390 Public method used to browse the log of a file/directory from the |
2394 Mercurial repository. |
2391 Mercurial repository. |
2395 </p> |
2392 </p> |
|
2393 |
2396 <dl> |
2394 <dl> |
2397 |
2395 |
2398 <dt><i>name</i> (str)</dt> |
2396 <dt><i>name</i> (str)</dt> |
2399 <dd> |
2397 <dd> |
2400 file/directory name to show the log of |
2398 file/directory name to show the log of |
2711 </dd> |
2709 </dd> |
2712 </dl> |
2710 </dl> |
2713 <a NAME="Hg.vcsShutdown" ID="Hg.vcsShutdown"></a> |
2711 <a NAME="Hg.vcsShutdown" ID="Hg.vcsShutdown"></a> |
2714 <h4>Hg.vcsShutdown</h4> |
2712 <h4>Hg.vcsShutdown</h4> |
2715 <b>vcsShutdown</b>(<i></i>) |
2713 <b>vcsShutdown</b>(<i></i>) |
2716 |
|
2717 <p> |
2714 <p> |
2718 Public method used to shutdown the Mercurial interface. |
2715 Public method used to shutdown the Mercurial interface. |
2719 </p> |
2716 </p> |
|
2717 |
2720 <a NAME="Hg.vcsStatus" ID="Hg.vcsStatus"></a> |
2718 <a NAME="Hg.vcsStatus" ID="Hg.vcsStatus"></a> |
2721 <h4>Hg.vcsStatus</h4> |
2719 <h4>Hg.vcsStatus</h4> |
2722 <b>vcsStatus</b>(<i>name</i>) |
2720 <b>vcsStatus</b>(<i>name</i>) |
2723 |
|
2724 <p> |
2721 <p> |
2725 Public method used to view the status of files/directories in the |
2722 Public method used to view the status of files/directories in the |
2726 Mercurial repository. |
2723 Mercurial repository. |
2727 </p> |
2724 </p> |
|
2725 |
2728 <dl> |
2726 <dl> |
2729 |
2727 |
2730 <dt><i>name</i> (str or list of str)</dt> |
2728 <dt><i>name</i> (str or list of str)</dt> |
2731 <dd> |
2729 <dd> |
2732 file/directory name(s) to show the status of |
2730 file/directory name(s) to show the status of |
2733 </dd> |
2731 </dd> |
2734 </dl> |
2732 </dl> |
2735 <a NAME="Hg.vcsSupportCommandOptions" ID="Hg.vcsSupportCommandOptions"></a> |
2733 <a NAME="Hg.vcsSupportCommandOptions" ID="Hg.vcsSupportCommandOptions"></a> |
2736 <h4>Hg.vcsSupportCommandOptions</h4> |
2734 <h4>Hg.vcsSupportCommandOptions</h4> |
2737 <b>vcsSupportCommandOptions</b>(<i></i>) |
2735 <b>vcsSupportCommandOptions</b>(<i></i>) |
2738 |
|
2739 <p> |
2736 <p> |
2740 Public method to signal the support of user settable command options. |
2737 Public method to signal the support of user settable command options. |
2741 </p> |
2738 </p> |
|
2739 |
2742 <dl> |
2740 <dl> |
2743 <dt>Return:</dt> |
2741 <dt>Return:</dt> |
2744 <dd> |
2742 <dd> |
2745 flag indicating the support of user settable command options |
2743 flag indicating the support of user settable command options |
2746 </dd> |
2744 </dd> |