convert: kill dead code
authorJulien Cristau <julien.cristau@logilab.fr>
Mon, 04 Apr 2016 15:39:13 +0200
changeset 28817 e1d26630443d
parent 28816 f4a42bb7c2ec
child 28818 6041fb8f2da8
convert: kill dead code gitread is unused with the new commandline-based code.
hgext/convert/git.py
--- a/hgext/convert/git.py	Mon Apr 04 15:38:48 2016 +0200
+++ b/hgext/convert/git.py	Mon Apr 04 15:39:13 2016 +0200
@@ -53,11 +53,6 @@
     def gitpipe(self, *args, **kwargs):
         return self._gitcmd(self._run3, *args, **kwargs)
 
-    def gitread(self, s):
-        fh = self.gitopen(s)
-        data = fh.read()
-        return data, fh.close()
-
     def __init__(self, ui, path, revs=None):
         super(convert_git, self).__init__(ui, path, revs=revs)
         common.commandline.__init__(self, ui, 'git')