convert: kill dead code
gitread is unused with the new commandline-based code.
--- 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')