--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.FastexportExtension.fastexport.html Wed Dec 04 11:30:17 2024 +0100 @@ -0,0 +1,137 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.Plugins.VcsPlugins.vcsMercurial.FastexportExtension.fastexport</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.Plugins.VcsPlugins.vcsMercurial.FastexportExtension.fastexport</h1> +<p> +Module implementing the fastexport extension interface. +</p> + +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> + +<h3>Classes</h3> +<table> +<tr> +<td><a href="#Fastexport">Fastexport</a></td> +<td>Class implementing the fastexport extension interface.</td> +</tr> +</table> + +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> + +<hr /> +<hr /> +<a NAME="Fastexport" ID="Fastexport"></a> +<h2>Fastexport</h2> +<p> + Class implementing the fastexport 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="#Fastexport.__init__">Fastexport</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#Fastexport.__processFinished">__processFinished</a></td> +<td>Private slot to handle the process finished signal.</td> +</tr> +<tr> +<td><a href="#Fastexport.__readStderr">__readStderr</a></td> +<td>Private slot to handle the readyReadStandardError signal.</td> +</tr> +<tr> +<td><a href="#Fastexport.hgFastexport">hgFastexport</a></td> +<td>Public method to export the repository as a git fast-import stream.</td> +</tr> +</table> + +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> + + +<a NAME="Fastexport.__init__" ID="Fastexport.__init__"></a> +<h4>Fastexport (Constructor)</h4> +<b>Fastexport</b>(<i>vcs, ui=None</i>) +<p> + Constructor +</p> + +<dl> + +<dt><i>vcs</i> (Hg)</dt> +<dd> +reference to the Mercurial vcs object +</dd> +<dt><i>ui</i> (QWidget)</dt> +<dd> +reference to a UI widget (defaults to None) +</dd> +</dl> +<a NAME="Fastexport.__processFinished" ID="Fastexport.__processFinished"></a> +<h4>Fastexport.__processFinished</h4> +<b>__processFinished</b>(<i>exitCode, exitStatus</i>) +<p> + Private slot to handle the process finished signal. +</p> + +<dl> + +<dt><i>exitCode</i> (int)</dt> +<dd> +exit code of the process +</dd> +<dt><i>exitStatus</i> (QProcess.ExitStatus)</dt> +<dd> +exit status +</dd> +</dl> +<a NAME="Fastexport.__readStderr" ID="Fastexport.__readStderr"></a> +<h4>Fastexport.__readStderr</h4> +<b>__readStderr</b>(<i></i>) +<p> + Private slot to handle the readyReadStandardError signal. +</p> + +<a NAME="Fastexport.hgFastexport" ID="Fastexport.hgFastexport"></a> +<h4>Fastexport.hgFastexport</h4> +<b>hgFastexport</b>(<i>revisions=None</i>) +<p> + Public method to export the repository as a git fast-import stream. +</p> + +<dl> + +<dt><i>revisions</i> (list of str)</dt> +<dd> +list of revisions to be exported +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html>