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