##// END OF EJS Templates
subrepo: isolate configuration between each repositories in subrepo tree...
FUJIWARA Katsunori -
r17873:573bec4a stable
parent child Browse files
Show More
@@ -395,7 +395,11 b' class hgsubrepo(abstractsubrepo):'
395 if not os.path.exists(os.path.join(root, '.hg')):
395 if not os.path.exists(os.path.join(root, '.hg')):
396 create = True
396 create = True
397 util.makedirs(root)
397 util.makedirs(root)
398 self._repo = hg.repository(r.ui, root, create=create)
398 self._repo = hg.repository(r.baseui, root, create=create)
399 for s, k in [('ui', 'commitsubrepos')]:
400 v = r.ui.config(s, k)
401 if v:
402 self._repo.ui.setconfig(s, k, v)
399 self._initrepo(r, state[0], create)
403 self._initrepo(r, state[0], create)
400
404
401 def _initrepo(self, parentrepo, source, create):
405 def _initrepo(self, parentrepo, source, create):
General Comments 0
You need to be logged in to leave comments. Login now