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

changeset 5320
50e732750370
parent 5292
ac8b476ba122
child 5322
c2cabdca0734
--- a/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.hg.html	Sun Nov 13 19:40:14 2016 +0100
+++ b/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.hg.html	Sun Nov 13 19:41:06 2016 +0100
@@ -212,6 +212,9 @@
 <td><a href="#Hg.hgGetBranchesList">hgGetBranchesList</a></td>
 <td>Public method to get the list of branches.</td>
 </tr><tr>
+<td><a href="#Hg.hgGetCurrentBranch">hgGetCurrentBranch</a></td>
+<td>Public method to get the current branch of the working directory.</td>
+</tr><tr>
 <td><a href="#Hg.hgGetTagsList">hgGetTagsList</a></td>
 <td>Public method to get the list of tags.</td>
 </tr><tr>
@@ -965,6 +968,26 @@
 <dd>
 list of branches (list of string)
 </dd>
+</dl><a NAME="Hg.hgGetCurrentBranch" ID="Hg.hgGetCurrentBranch"></a>
+<h4>Hg.hgGetCurrentBranch</h4>
+<b>hgGetCurrentBranch</b>(<i>repodir</i>)
+<p>
+        Public method to get the current branch of the working directory.
+</p><dl>
+<dt><i>repodir</i> (str)</dt>
+<dd>
+directory name of the repository
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+name of the current branch
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+str
+</dd>
 </dl><a NAME="Hg.hgGetTagsList" ID="Hg.hgGetTagsList"></a>
 <h4>Hg.hgGetTagsList</h4>
 <b>hgGetTagsList</b>(<i>repodir, withType=False</i>)

eric ide

mercurial