Show More
@@ -160,6 +160,9 b' class hgsubrepo(object):' | |||||
160 | else: |
|
160 | else: | |
161 | util.makedirs(root) |
|
161 | util.makedirs(root) | |
162 | self._repo = hg.repository(r.ui, root, create=True) |
|
162 | self._repo = hg.repository(r.ui, root, create=True) | |
|
163 | f = file(os.path.join(root, '.hg', 'hgrc'), 'w') | |||
|
164 | f.write('[paths]\ndefault = %s\n' % state[0]) | |||
|
165 | f.close() | |||
163 | self._repo._subparent = r |
|
166 | self._repo._subparent = r | |
164 | self._repo._subsource = state[0] |
|
167 | self._repo._subsource = state[0] | |
165 |
|
168 |
General Comments 0
You need to be logged in to leave comments.
Login now