Plugins/VcsPlugins/vcsMercurial/hg.py

changeset 3434
9b874ca09bb3
parent 3416
efce6439595a
child 3475
852dc7d65ff0
child 3484
645c12de6b0c
--- a/Plugins/VcsPlugins/vcsMercurial/hg.py	Tue Mar 25 19:29:24 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/hg.py	Tue Mar 25 19:34:15 2014 +0100
@@ -2553,37 +2553,6 @@
                 self.log.show()
                 self.log.start(name)
     
-    def hgIdentifyBundle(self, name):
-        """
-        Public method used to identify a changegroup file.
-        
-        @param name directory name on which to base the changegroup (string)
-        """
-        dname, fname = self.splitPath(name)
-        
-        # find the root of the repo
-        repodir = dname
-        while not os.path.isdir(os.path.join(repodir, self.adminDir)):
-            repodir = os.path.dirname(repodir)
-            if os.path.splitdrive(repodir)[1] == os.sep:
-                return
-        
-        file = E5FileDialog.getOpenFileName(
-            None,
-            self.tr("Preview changegroup"),
-            self.__lastChangeGroupPath or repodir,
-            self.tr("Mercurial Changegroup Files (*.hg);;All Files (*)"))
-        if file:
-            self.__lastChangeGroupPath = os.path.dirname(file)
-            
-            args = self.initCommand("identify")
-            args.append(file)
-            
-            dia = HgDialog(self.tr('Identifying changegroup file'), self)
-            res = dia.startProcess(args, repodir, False)
-            if res:
-                dia.exec_()
-    
     def hgUnbundle(self, name):
         """
         Public method to apply changegroup files.

eric ide

mercurial