##// END OF EJS Templates
subrepo: store the ui object in the base class...
Matt Harbison -
r23536:fcbc66b5 default
parent child Browse files
Show More
@@ -372,6 +372,9 b' def newcommitphase(ui, ctx):'
372 372
373 373 class abstractsubrepo(object):
374 374
375 def __init__(self, ui):
376 self._ui = ui
377
375 378 def storeclean(self, path):
376 379 """
377 380 returns true if the repository has not changed since it was last
@@ -508,6 +511,7 b' class abstractsubrepo(object):'
508 511
509 512 class hgsubrepo(abstractsubrepo):
510 513 def __init__(self, ctx, path, state):
514 super(hgsubrepo, self).__init__(ctx._repo.ui)
511 515 self._path = path
512 516 self._state = state
513 517 r = ctx._repo
@@ -878,6 +882,7 b' class hgsubrepo(abstractsubrepo):'
878 882
879 883 class svnsubrepo(abstractsubrepo):
880 884 def __init__(self, ctx, path, state):
885 super(svnsubrepo, self).__init__(ctx._repo.ui)
881 886 self._path = path
882 887 self._state = state
883 888 self._ctx = ctx
@@ -1108,6 +1113,7 b' class svnsubrepo(abstractsubrepo):'
1108 1113
1109 1114 class gitsubrepo(abstractsubrepo):
1110 1115 def __init__(self, ctx, path, state):
1116 super(gitsubrepo, self).__init__(ctx._repo.ui)
1111 1117 self._state = state
1112 1118 self._ctx = ctx
1113 1119 self._path = path
General Comments 0
You need to be logged in to leave comments. Login now