Mercurial > hg
diff hgext/convert/git.py @ 4807:15a3cbfc6568
convert: call superclass init from engine init functions
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 05 Jul 2007 12:00:04 -0700 |
parents | f52bfe566583 |
children | c2d529f288a1 |
line wrap: on
line diff
--- a/hgext/convert/git.py Wed Jul 04 13:38:49 2007 -0700 +++ b/hgext/convert/git.py Thu Jul 05 12:00:04 2007 -0700 @@ -9,6 +9,8 @@ return os.popen('GIT_DIR=%s %s' % (self.path, s)) def __init__(self, ui, path, rev=None): + super(convert_git, self).__init__(ui, path, rev=rev) + if os.path.isdir(path + "/.git"): path += "/.git" if not os.path.exists(path + "/objects"):