eric6/Plugins/VcsPlugins/vcsMercurial/HgExtension.py

Fri, 30 Aug 2019 18:54:30 +0200

author
Christos Sevastiadis <csevast@gmail.com>
date
Fri, 30 Aug 2019 18:54:30 +0200
changeset 7183
4ac1c9daa90b
parent 6942
2602857055c5
child 7229
53054eb5b15a
permissions
-rw-r--r--

HgStatusDialog: commitMerge and abortMerge actions added
HgLogBrowserDialog: uncommitted merge parents' icons are shown bolded

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

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

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

from __future__ import unicode_literals

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