Plugins/VcsPlugins/vcsMercurial/HgExtension.py

Wed, 31 Jul 2013 20:07:41 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 31 Jul 2013 20:07:41 +0200
changeset 2837
a96cb48e86a5
parent 2302
f29e9405c851
child 2525
8b507a9a2d40
child 3160
209a07d7e401
permissions
-rw-r--r--

Added the capability to compare files side-by-side to Mercurial.

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

# Copyright (c) 2011 - 2013 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