Show More
@@ -415,7 +415,7 b' def _abssource(repo, push=False, abort=T' | |||||
415 | # type: (localrepo.localrepository, bool, bool) -> Optional[bytes] |
|
415 | # type: (localrepo.localrepository, bool, bool) -> Optional[bytes] | |
416 | """return pull/push path of repo - either based on parent repo .hgsub info |
|
416 | """return pull/push path of repo - either based on parent repo .hgsub info | |
417 | or on the top repo config. Abort or return None if no source found.""" |
|
417 | or on the top repo config. Abort or return None if no source found.""" | |
418 |
if util.safehasattr(repo, |
|
418 | if util.safehasattr(repo, '_subparent'): | |
419 | source = urlutil.url(repo._subsource) |
|
419 | source = urlutil.url(repo._subsource) | |
420 | if source.isabs(): |
|
420 | if source.isabs(): | |
421 | return bytes(source) |
|
421 | return bytes(source) |
General Comments 0
You need to be logged in to leave comments.
Login now