Show More
@@ -395,7 +395,11 b' class hgsubrepo(abstractsubrepo):' | |||
|
395 | 395 | if not os.path.exists(os.path.join(root, '.hg')): |
|
396 | 396 | create = True |
|
397 | 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 | 403 | self._initrepo(r, state[0], create) |
|
400 | 404 | |
|
401 | 405 | def _initrepo(self, parentrepo, source, create): |
General Comments 0
You need to be logged in to leave comments.
Login now