mercurial/subrepoutil.py
changeset 50601 b539c60a79ac
parent 49306 2e726c934fcd
child 50602 98b805d40c41
equal deleted inserted replaced
50600:d1502345f89c 50601:b539c60a79ac
   382     """return the source of this repo
   382     """return the source of this repo
   383 
   383 
   384     Either absolute or relative the outermost repo"""
   384     Either absolute or relative the outermost repo"""
   385     parent = repo
   385     parent = repo
   386     chunks = []
   386     chunks = []
   387     while util.safehasattr(parent, b'_subparent'):
   387     while util.safehasattr(parent, '_subparent'):
   388         source = urlutil.url(parent._subsource)
   388         source = urlutil.url(parent._subsource)
   389         chunks.append(bytes(source))
   389         chunks.append(bytes(source))
   390         if source.isabs():
   390         if source.isabs():
   391             break
   391             break
   392         parent = parent._subparent
   392         parent = parent._subparent