changeset 50604 | bf7ad17b0a58 |
parent 50603 | a30e6401c7f0 |
child 50925 | d718eddf01d9 |
--- a/mercurial/subrepoutil.py Thu Feb 02 17:36:47 2023 +0100 +++ b/mercurial/subrepoutil.py Thu Feb 02 17:36:55 2023 +0100 @@ -428,7 +428,7 @@ return bytes(parent) else: # recursion reached top repo path = None - if util.safehasattr(repo, b'_subtoppath'): + if util.safehasattr(repo, '_subtoppath'): path = repo._subtoppath elif push and repo.ui.config(b'paths', b'default-push'): path = repo.ui.config(b'paths', b'default-push')