1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.FetchExtension.fetch</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>eric6.Plugins.VcsPlugins.vcsMercurial.FetchExtension.fetch</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing the fetch 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="#Fetch">Fetch</a></td> |
|
39 <td>Class implementing the fetch 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="Fetch" ID="Fetch"></a> |
|
50 <h2>Fetch</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing the fetch 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="#Fetch.__init__">Fetch</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#Fetch.hgFetch">hgFetch</a></td> |
|
77 <td>Public method to fetch changes from a remote 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="Fetch.__init__" ID="Fetch.__init__"></a> |
|
87 <h4>Fetch (Constructor)</h4> |
|
88 <b>Fetch</b>(<i>vcs</i>) |
|
89 |
|
90 <p> |
|
91 Constructor |
|
92 </p> |
|
93 <dl> |
|
94 |
|
95 <dt><i>vcs</i></dt> |
|
96 <dd> |
|
97 reference to the Mercurial vcs object |
|
98 </dd> |
|
99 </dl> |
|
100 <a NAME="Fetch.hgFetch" ID="Fetch.hgFetch"></a> |
|
101 <h4>Fetch.hgFetch</h4> |
|
102 <b>hgFetch</b>(<i>name, revisions=None</i>) |
|
103 |
|
104 <p> |
|
105 Public method to fetch changes from a remote repository. |
|
106 </p> |
|
107 <dl> |
|
108 |
|
109 <dt><i>name</i> (str)</dt> |
|
110 <dd> |
|
111 directory name of the project to be fetched to |
|
112 </dd> |
|
113 <dt><i>revisions</i> (list of str)</dt> |
|
114 <dd> |
|
115 list of revisions to be pulled |
|
116 </dd> |
|
117 </dl> |
|
118 <dl> |
|
119 <dt>Returns:</dt> |
|
120 <dd> |
|
121 flag indicating, that the update contained an add |
|
122 or delete |
|
123 </dd> |
|
124 </dl> |
|
125 <dl> |
|
126 <dt>Return Type:</dt> |
|
127 <dd> |
|
128 bool |
|
129 </dd> |
|
130 </dl> |
|
131 <div align="right"><a href="#top">Up</a></div> |
|
132 <hr /> |
|
133 </body></html> |
|