equal
deleted
inserted
replaced
185 r[3], r[4], r[5])) |
185 r[3], r[4], r[5])) |
186 return r |
186 return r |
187 else: # plain file system path |
187 else: # plain file system path |
188 return posixpath.normpath(os.path.join(parent, repo._subsource)) |
188 return posixpath.normpath(os.path.join(parent, repo._subsource)) |
189 else: # recursion reached top repo |
189 else: # recursion reached top repo |
|
190 if hasattr(repo, '_subtoppath'): |
|
191 return repo._subtoppath |
190 if push and repo.ui.config('paths', 'default-push'): |
192 if push and repo.ui.config('paths', 'default-push'): |
191 return repo.ui.config('paths', 'default-push') |
193 return repo.ui.config('paths', 'default-push') |
192 if repo.ui.config('paths', 'default'): |
194 if repo.ui.config('paths', 'default'): |
193 return repo.ui.config('paths', 'default') |
195 return repo.ui.config('paths', 'default') |
194 if abort: |
196 if abort: |