diff hgext/convert/git.py @ 4810:c2d529f288a1

convert: move some code into common init function
author Brendan Cully <brendan@kublai.com>
date Thu, 05 Jul 2007 12:08:48 -0700
parents 15a3cbfc6568
children 28b23b9073a8
line wrap: on
line diff
--- a/hgext/convert/git.py	Thu Jul 05 12:00:43 2007 -0700
+++ b/hgext/convert/git.py	Thu Jul 05 12:08:48 2007 -0700
@@ -15,11 +15,7 @@
             path += "/.git"
         if not os.path.exists(path + "/objects"):
             raise NoRepo("couldn't open GIT repo %s" % path)
-
         self.path = path
-        self.ui = ui
-        self.rev = rev
-        self.encoding = 'utf-8'
 
     def getheads(self):
         if not self.rev: