Plugins/VcsPlugins/vcsMercurial/HgExtension.py

Fri, 12 Apr 2013 21:04:00 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Fri, 12 Apr 2013 21:04:00 +0200
branch
Py2 comp.
changeset 2575
cbdf5b8a5bc5
parent 2525
8b507a9a2d40
child 3145
a9de05d4a22f
permissions
-rw-r--r--

Fix enables Mercurial support.

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

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

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

from __future__ import unicode_literals    # __IGNORE_WARNING__

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(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