Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.hg.html

changeset 2838
0f1423054184
parent 2837
a96cb48e86a5
child 2845
7e55c6268c35
equal deleted inserted replaced
2837:a96cb48e86a5 2838:0f1423054184
71 <td>Constructor</td> 71 <td>Constructor</td>
72 </tr><tr> 72 </tr><tr>
73 <td><a href="#Hg.__getExtensionsInfo">__getExtensionsInfo</a></td> 73 <td><a href="#Hg.__getExtensionsInfo">__getExtensionsInfo</a></td>
74 <td>Private method to get the active extensions from Mercurial.</td> 74 <td>Private method to get the active extensions from Mercurial.</td>
75 </tr><tr> 75 </tr><tr>
76 <td><a href="#Hg.__hgGetFileForRevision">__hgGetFileForRevision</a></td>
77 <td>Private method to get a file for a specific revision from the repository.</td>
78 </tr><tr>
76 <td><a href="#Hg.__hgURL">__hgURL</a></td> 79 <td><a href="#Hg.__hgURL">__hgURL</a></td>
77 <td>Private method to format a url for Mercurial.</td> 80 <td>Private method to format a url for Mercurial.</td>
78 </tr><tr> 81 </tr><tr>
79 <td><a href="#Hg.__iniFileChanged">__iniFileChanged</a></td> 82 <td><a href="#Hg.__iniFileChanged">__iniFileChanged</a></td>
80 <td>Private slot to handle a change of the Mercurial configuration file.</td> 83 <td>Private slot to handle a change of the Mercurial configuration file.</td>
358 </dl><a NAME="Hg.__getExtensionsInfo" ID="Hg.__getExtensionsInfo"></a> 361 </dl><a NAME="Hg.__getExtensionsInfo" ID="Hg.__getExtensionsInfo"></a>
359 <h4>Hg.__getExtensionsInfo</h4> 362 <h4>Hg.__getExtensionsInfo</h4>
360 <b>__getExtensionsInfo</b>(<i></i>) 363 <b>__getExtensionsInfo</b>(<i></i>)
361 <p> 364 <p>
362 Private method to get the active extensions from Mercurial. 365 Private method to get the active extensions from Mercurial.
363 </p><a NAME="Hg.__hgURL" ID="Hg.__hgURL"></a> 366 </p><a NAME="Hg.__hgGetFileForRevision" ID="Hg.__hgGetFileForRevision"></a>
367 <h4>Hg.__hgGetFileForRevision</h4>
368 <b>__hgGetFileForRevision</b>(<i>name, rev=""</i>)
369 <p>
370 Private method to get a file for a specific revision from the repository.
371 </p><dl>
372 <dt><i>name</i></dt>
373 <dd>
374 file name to get from the repository (string)
375 </dd><dt><i>rev=</i></dt>
376 <dd>
377 revision to retrieve (string)
378 </dd>
379 </dl><dl>
380 <dt>Returns:</dt>
381 <dd>
382 contents of the file (string) and an error message (string)
383 </dd>
384 </dl><a NAME="Hg.__hgURL" ID="Hg.__hgURL"></a>
364 <h4>Hg.__hgURL</h4> 385 <h4>Hg.__hgURL</h4>
365 <b>__hgURL</b>(<i>url</i>) 386 <b>__hgURL</b>(<i>url</i>)
366 <p> 387 <p>
367 Private method to format a url for Mercurial. 388 Private method to format a url for Mercurial.
368 </p><dl> 389 </p><dl>
921 <dd> 942 <dd>
922 directory name (string or list of strings) 943 directory name (string or list of strings)
923 </dd> 944 </dd>
924 </dl><a NAME="Hg.hgSbsDiff" ID="Hg.hgSbsDiff"></a> 945 </dl><a NAME="Hg.hgSbsDiff" ID="Hg.hgSbsDiff"></a>
925 <h4>Hg.hgSbsDiff</h4> 946 <h4>Hg.hgSbsDiff</h4>
926 <b>hgSbsDiff</b>(<i>name</i>) 947 <b>hgSbsDiff</b>(<i>name, extended=False, revisions=None</i>)
927 <p> 948 <p>
928 Public method used to view the difference of a file to the Mercurial repository 949 Public method used to view the difference of a file to the Mercurial repository
929 side-by-side. 950 side-by-side.
930 </p><dl> 951 </p><dl>
931 <dt><i>name</i></dt> 952 <dt><i>name</i></dt>
932 <dd> 953 <dd>
933 file name to be diffed (string) 954 file name to be diffed (string)
955 </dd><dt><i>extended=</i></dt>
956 <dd>
957 flag indicating the extended variant (boolean)
958 </dd><dt><i>revisions=</i></dt>
959 <dd>
960 tuple of two revisions (tuple of strings)
934 </dd> 961 </dd>
935 </dl><a NAME="Hg.hgServe" ID="Hg.hgServe"></a> 962 </dl><a NAME="Hg.hgServe" ID="Hg.hgServe"></a>
936 <h4>Hg.hgServe</h4> 963 <h4>Hg.hgServe</h4>
937 <b>hgServe</b>(<i>name</i>) 964 <b>hgServe</b>(<i>name</i>)
938 <p> 965 <p>

eric ide

mercurial