Plugins/VcsPlugins/vcsMercurial/hg.py

changeset 5104
0b9420dc1093
parent 5091
dfac14826e78
child 5256
4720cbf7ab52
diff -r 9cc5217881ab -r 0b9420dc1093 Plugins/VcsPlugins/vcsMercurial/hg.py
--- a/Plugins/VcsPlugins/vcsMercurial/hg.py	Thu Aug 18 17:34:05 2016 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/hg.py	Tue Aug 23 12:21:46 2016 +0200
@@ -145,7 +145,6 @@
         from .FetchExtension.fetch import Fetch
         from .PurgeExtension.purge import Purge
         from .GpgExtension.gpg import Gpg
-        from .TransplantExtension.transplant import Transplant
         from .RebaseExtension.rebase import Rebase
         from .ShelveExtension.shelve import Shelve
         from .LargefilesExtension.largefiles import Largefiles
@@ -154,7 +153,6 @@
             "fetch": Fetch(self),
             "purge": Purge(self),
             "gpg": Gpg(self),
-            "transplant": Transplant(self),
             "rebase": Rebase(self),
             "shelve": Shelve(self),
             "largefiles": Largefiles(self)
@@ -3461,21 +3459,6 @@
         """
         extensionName = extensionName.strip()
         isActive = extensionName in self.__activeExtensions
-        if isActive and \
-            extensionName == "transplant" and \
-                self.version >= (2, 3):
-            # transplant extension is deprecated as of Mercurial 2.3.0
-            isActive = False
-        if isActive and \
-            extensionName == "shelve" and \
-                self.version < (2, 8):
-            # shelve extension was added as of Mercurial 2.8.0
-            isActive = False
-        if isActive and \
-            extensionName == "largefiles" and \
-                self.version < (2, 0):
-            # largefiles extension was added as of Mercurial 2.0.0
-            isActive = False
         
         return isActive
     

eric ide

mercurial