|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.FastexportExtension.fastexport</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.FastexportExtension.fastexport</h1> |
|
10 <p> |
|
11 Module implementing the fastexport extension interface. |
|
12 </p> |
|
13 |
|
14 <h3>Global Attributes</h3> |
|
15 <table> |
|
16 <tr><td>None</td></tr> |
|
17 </table> |
|
18 |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#Fastexport">Fastexport</a></td> |
|
23 <td>Class implementing the fastexport extension interface.</td> |
|
24 </tr> |
|
25 </table> |
|
26 |
|
27 <h3>Functions</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 |
|
32 <hr /> |
|
33 <hr /> |
|
34 <a NAME="Fastexport" ID="Fastexport"></a> |
|
35 <h2>Fastexport</h2> |
|
36 <p> |
|
37 Class implementing the fastexport extension interface. |
|
38 </p> |
|
39 |
|
40 <h3>Derived from</h3> |
|
41 HgExtension |
|
42 <h3>Class Attributes</h3> |
|
43 <table> |
|
44 <tr><td>None</td></tr> |
|
45 </table> |
|
46 |
|
47 <h3>Class Methods</h3> |
|
48 <table> |
|
49 <tr><td>None</td></tr> |
|
50 </table> |
|
51 |
|
52 <h3>Methods</h3> |
|
53 <table> |
|
54 <tr> |
|
55 <td><a href="#Fastexport.__init__">Fastexport</a></td> |
|
56 <td>Constructor</td> |
|
57 </tr> |
|
58 <tr> |
|
59 <td><a href="#Fastexport.__processFinished">__processFinished</a></td> |
|
60 <td>Private slot to handle the process finished signal.</td> |
|
61 </tr> |
|
62 <tr> |
|
63 <td><a href="#Fastexport.__readStderr">__readStderr</a></td> |
|
64 <td>Private slot to handle the readyReadStandardError signal.</td> |
|
65 </tr> |
|
66 <tr> |
|
67 <td><a href="#Fastexport.hgFastexport">hgFastexport</a></td> |
|
68 <td>Public method to export the repository as a git fast-import stream.</td> |
|
69 </tr> |
|
70 </table> |
|
71 |
|
72 <h3>Static Methods</h3> |
|
73 <table> |
|
74 <tr><td>None</td></tr> |
|
75 </table> |
|
76 |
|
77 |
|
78 <a NAME="Fastexport.__init__" ID="Fastexport.__init__"></a> |
|
79 <h4>Fastexport (Constructor)</h4> |
|
80 <b>Fastexport</b>(<i>vcs, ui=None</i>) |
|
81 <p> |
|
82 Constructor |
|
83 </p> |
|
84 |
|
85 <dl> |
|
86 |
|
87 <dt><i>vcs</i> (Hg)</dt> |
|
88 <dd> |
|
89 reference to the Mercurial vcs object |
|
90 </dd> |
|
91 <dt><i>ui</i> (QWidget)</dt> |
|
92 <dd> |
|
93 reference to a UI widget (defaults to None) |
|
94 </dd> |
|
95 </dl> |
|
96 <a NAME="Fastexport.__processFinished" ID="Fastexport.__processFinished"></a> |
|
97 <h4>Fastexport.__processFinished</h4> |
|
98 <b>__processFinished</b>(<i>exitCode, exitStatus</i>) |
|
99 <p> |
|
100 Private slot to handle the process finished signal. |
|
101 </p> |
|
102 |
|
103 <dl> |
|
104 |
|
105 <dt><i>exitCode</i> (int)</dt> |
|
106 <dd> |
|
107 exit code of the process |
|
108 </dd> |
|
109 <dt><i>exitStatus</i> (QProcess.ExitStatus)</dt> |
|
110 <dd> |
|
111 exit status |
|
112 </dd> |
|
113 </dl> |
|
114 <a NAME="Fastexport.__readStderr" ID="Fastexport.__readStderr"></a> |
|
115 <h4>Fastexport.__readStderr</h4> |
|
116 <b>__readStderr</b>(<i></i>) |
|
117 <p> |
|
118 Private slot to handle the readyReadStandardError signal. |
|
119 </p> |
|
120 |
|
121 <a NAME="Fastexport.hgFastexport" ID="Fastexport.hgFastexport"></a> |
|
122 <h4>Fastexport.hgFastexport</h4> |
|
123 <b>hgFastexport</b>(<i>revisions=None</i>) |
|
124 <p> |
|
125 Public method to export the repository as a git fast-import stream. |
|
126 </p> |
|
127 |
|
128 <dl> |
|
129 |
|
130 <dt><i>revisions</i> (list of str)</dt> |
|
131 <dd> |
|
132 list of revisions to be exported |
|
133 </dd> |
|
134 </dl> |
|
135 <div align="right"><a href="#top">Up</a></div> |
|
136 <hr /> |
|
137 </body></html> |