|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.StripExtension.strip</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.StripExtension.strip</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the strip extension interface. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#Strip">Strip</a></td> |
|
25 <td>Class implementing the strip extension interface.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="Strip" ID="Strip"></a> |
|
36 <h2>Strip</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing the strip extension interface. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 HgExtension |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#Strip.__init__">Strip</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#Strip.hgStrip">hgStrip</a></td> |
|
63 <td>Public method to strip revisions from a repository.</td> |
|
64 </tr> |
|
65 </table> |
|
66 <h3>Static Methods</h3> |
|
67 |
|
68 <table> |
|
69 <tr><td>None</td></tr> |
|
70 </table> |
|
71 |
|
72 <a NAME="Strip.__init__" ID="Strip.__init__"></a> |
|
73 <h4>Strip (Constructor)</h4> |
|
74 <b>Strip</b>(<i>vcs</i>) |
|
75 |
|
76 <p> |
|
77 Constructor |
|
78 </p> |
|
79 <dl> |
|
80 |
|
81 <dt><i>vcs</i> (Hg)</dt> |
|
82 <dd> |
|
83 reference to the Mercurial vcs object |
|
84 </dd> |
|
85 </dl> |
|
86 <a NAME="Strip.hgStrip" ID="Strip.hgStrip"></a> |
|
87 <h4>Strip.hgStrip</h4> |
|
88 <b>hgStrip</b>(<i>rev=""</i>) |
|
89 |
|
90 <p> |
|
91 Public method to strip revisions from a repository. |
|
92 </p> |
|
93 <dl> |
|
94 |
|
95 <dt><i>rev</i> (str)</dt> |
|
96 <dd> |
|
97 revision to strip from |
|
98 </dd> |
|
99 </dl> |
|
100 <dl> |
|
101 <dt>Return:</dt> |
|
102 <dd> |
|
103 flag indicating that the project should be reread |
|
104 </dd> |
|
105 </dl> |
|
106 <dl> |
|
107 <dt>Return Type:</dt> |
|
108 <dd> |
|
109 bool |
|
110 </dd> |
|
111 </dl> |
|
112 <div align="right"><a href="#top">Up</a></div> |
|
113 <hr /> |
|
114 </body></html> |