12 |
12 |
13 class HgExtension(QObject): |
13 class HgExtension(QObject): |
14 """ |
14 """ |
15 Class implementing the base class for Mercurial extension interfaces. |
15 Class implementing the base class for Mercurial extension interfaces. |
16 """ |
16 """ |
|
17 |
17 def __init__(self, vcs): |
18 def __init__(self, vcs): |
18 """ |
19 """ |
19 Constructor |
20 Constructor |
20 |
21 |
21 @param vcs reference to the Mercurial vcs object |
22 @param vcs reference to the Mercurial vcs object |
22 """ |
23 """ |
23 super().__init__(vcs) |
24 super().__init__(vcs) |
24 |
25 |
25 self.vcs = vcs |
26 self.vcs = vcs |
26 |
27 |
27 def shutdown(self): |
28 def shutdown(self): |
28 """ |
29 """ |
29 Public method used to shutdown the extension interface. |
30 Public method used to shutdown the extension interface. |
30 |
31 |
31 The method of this base class does nothing. |
32 The method of this base class does nothing. |
32 """ |
33 """ |
33 pass |
34 pass |