eric6/Plugins/VcsPlugins/vcsMercurial/HgExtension.py

Tue, 16 Feb 2021 18:25:47 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 16 Feb 2021 18:25:47 +0100
changeset 8108
a42ae6be4cc3
parent 7923
91e843545d9a
child 8218
7c09585bd960
permissions
-rw-r--r--

Mercurial: added support for Mercurial 5.7.

# -*- coding: utf-8 -*-

# Copyright (c) 2011 - 2021 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implementing the base class for Mercurial extension interfaces.
"""

from PyQt5.QtCore import QObject


class HgExtension(QObject):
    """
    Class implementing the base class for Mercurial extension interfaces.
    """
    def __init__(self, vcs):
        """
        Constructor
        
        @param vcs reference to the Mercurial vcs object
        """
        super(HgExtension, self).__init__(vcs)
        
        self.vcs = vcs
    
    def shutdown(self):
        """
        Public method used to shutdown the extension interface.
        
        The method of this base class does nothing.
        """
        pass

eric ide

mercurial