mercurial/subrepoutil.py
changeset 50607 bf7ad17b0a58
parent 50606 a30e6401c7f0
child 50928 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')