diff -r 436aee94f2d7 -r c1b6b8b03e48 mercurial/hg.py --- a/mercurial/hg.py Mon May 06 11:26:52 2024 +0200 +++ b/mercurial/hg.py Mon May 06 11:27:29 2024 +0200 @@ -1425,7 +1425,6 @@ others = [] for path in urlutil.get_push_paths(repo, ui, dests): dest = path.loc - repo._subtoppath = dest if subpath is not None: subpath = urlutil.url(subpath) if subpath.isabs(): @@ -1529,7 +1528,6 @@ finally: for oth in others: oth.close() - del repo._subtoppath def verify(repo, level=None):