mercurial/commands.py
changeset 46930 0afe96e374a7
parent 46917 efadec3ea8e2
child 46931 d4e4ccb75f99
--- a/mercurial/commands.py	Thu Apr 15 09:23:19 2021 +0200
+++ b/mercurial/commands.py	Thu Apr 15 09:23:28 2021 +0200
@@ -4985,11 +4985,7 @@
         finally:
             other.close()
 
-    repo._subtoppath = path.pushloc or path.loc
-    try:
-        return hg.outgoing(ui, repo, dest, opts)
-    finally:
-        del repo._subtoppath
+    return hg.outgoing(ui, repo, dest, opts)
 
 
 @command(