eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.CloseheadExtension.closehead.html

Tue, 14 May 2019 19:52:39 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 14 May 2019 19:52:39 +0200
changeset 7010
5d6f5a69a952
child 7273
391d6b7b1eff
permissions
-rw-r--r--

Mercurial Interface
- added support for the 'closehead' extension (as of Mercurial 4.8)
- added support for the '--keep' flag of the shelve command (as of Mercurial 5.0)

<!DOCTYPE html>
<html><head>
<title>eric6.Plugins.VcsPlugins.vcsMercurial.CloseheadExtension.closehead</title>
<meta charset="UTF-8">
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric6.Plugins.VcsPlugins.vcsMercurial.CloseheadExtension.closehead</h1>
<p>
Module implementing the closehead extension interface.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#Closehead">Closehead</a></td>
<td>Class implementing the strip extension interface.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="Closehead" ID="Closehead"></a>
<h2>Closehead</h2>
<p>
    Class implementing the strip extension interface.
</p>
<h3>Derived from</h3>
HgExtension
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#Closehead.__init__">Closehead</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#Closehead.hgCloseheads">hgCloseheads</a></td>
<td>Public method to close arbitrary heads.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="Closehead.__init__" ID="Closehead.__init__"></a>
<h4>Closehead (Constructor)</h4>
<b>Closehead</b>(<i>vcs</i>)
<p>
        Constructor
</p><dl>
<dt><i>vcs</i> (Hg)</dt>
<dd>
reference to the Mercurial vcs object
</dd>
</dl><a NAME="Closehead.hgCloseheads" ID="Closehead.hgCloseheads"></a>
<h4>Closehead.hgCloseheads</h4>
<b>hgCloseheads</b>(<i>name, revisions=None</i>)
<p>
        Public method to close arbitrary heads.
</p><dl>
<dt><i>name</i> (str)</dt>
<dd>
file/directory name
</dd><dt><i>revisions</i> (str)</dt>
<dd>
revisions of branch heads to be closed
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial