Mercurial > hg-stable
changeset 28817:e1d26630443d
convert: kill dead code
gitread is unused with the new commandline-based code.
author | Julien Cristau <julien.cristau@logilab.fr> |
---|---|
date | Mon, 04 Apr 2016 15:39:13 +0200 |
parents | f4a42bb7c2ec |
children | 6041fb8f2da8 |
files | hgext/convert/git.py |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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')