Plugins/VcsPlugins/vcsMercurial/HgExtension.py

Sat, 01 Feb 2014 17:01:08 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 01 Feb 2014 17:01:08 +0100
branch
5_4_x
changeset 3252
8dfa2a7e936d
parent 3160
209a07d7e401
child 3178
f25fc1364c88
permissions
-rw-r--r--

Another fix for the Mercurial log dialogs.
(grafted from 8f22bfa586b1c9566a97cf29889e51d1bb2cbdf8)

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

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

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

from PyQt4.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().__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