mercurial/subrepo.py
branchstable
changeset 12852 5dbff89cf107
parent 12799 8f71e5074e3c
child 12930 9bb180abc4d0
equal deleted inserted replaced
12851:765c98f068d3 12852:5dbff89cf107
   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: