Show More
@@ -400,7 +400,7 b' def reporelpath(repo):' | |||||
400 | # type: (localrepo.localrepository) -> bytes |
|
400 | # type: (localrepo.localrepository) -> bytes | |
401 | """return path to this (sub)repo as seen from outermost repo""" |
|
401 | """return path to this (sub)repo as seen from outermost repo""" | |
402 | parent = repo |
|
402 | parent = repo | |
403 |
while util.safehasattr(parent, |
|
403 | while util.safehasattr(parent, '_subparent'): | |
404 | parent = parent._subparent |
|
404 | parent = parent._subparent | |
405 | return repo.root[len(pathutil.normasprefix(parent.root)) :] |
|
405 | return repo.root[len(pathutil.normasprefix(parent.root)) :] | |
406 |
|
406 |
General Comments 0
You need to be logged in to leave comments.
Login now