comparison mercurial/subrepo.py @ 13106:c869bd9e1193

subrepo: gitsubrepo should inherit from abstractsubrepo
author Eric Eisner <ede@mit.edu>
date Thu, 09 Dec 2010 16:52:14 -0500
parents c922aacf6f1f
children 3bc237b0eaea
comparison
equal deleted inserted replaced
13104:5dac0d04b838 13106:c869bd9e1193
602 602
603 def filedata(self, name): 603 def filedata(self, name):
604 return self._svncommand(['cat'], name) 604 return self._svncommand(['cat'], name)
605 605
606 606
607 class gitsubrepo(object): 607 class gitsubrepo(abstractsubrepo):
608 def __init__(self, ctx, path, state): 608 def __init__(self, ctx, path, state):
609 # TODO add git version check. 609 # TODO add git version check.
610 self._state = state 610 self._state = state
611 self._ctx = ctx 611 self._ctx = ctx
612 self._relpath = path 612 self._relpath = path