[PATCH 1 of 6] subrepo: gitsubrepo should inherit from abstractsubrepo

Eric Eisner ede at MIT.EDU
Thu Dec 9 15:53:24 CST 2010


# HG changeset patch
# User Eric Eisner <ede at mit.edu>
# Date 1291931534 18000
# Node ID c869bd9e1193cf37cc09797581e3807dd176f983
# Parent  5dac0d04b838d599acdc5db9ee0b7de51de15537
subrepo: gitsubrepo should inherit from abstractsubrepo

diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py
--- a/mercurial/subrepo.py
+++ b/mercurial/subrepo.py
@@ -604,7 +604,7 @@ class svnsubrepo(abstractsubrepo):
         return self._svncommand(['cat'], name)
 
 
-class gitsubrepo(object):
+class gitsubrepo(abstractsubrepo):
     def __init__(self, ctx, path, state):
         # TODO add git version check.
         self._state = state


More information about the Mercurial-devel mailing list