mercurial/commands.py
changeset 46950 279df499511e
parent 46949 3800a6aafb6f
child 46952 82366464190a
--- a/mercurial/commands.py	Wed Apr 14 17:29:27 2021 +0200
+++ b/mercurial/commands.py	Wed Apr 14 17:41:02 2021 +0200
@@ -4351,11 +4351,7 @@
             finally:
                 other.close()
 
-    repo._subtoppath = ui.expandpath(source)
-    try:
-        return hg.incoming(ui, repo, source, opts)
-    finally:
-        del repo._subtoppath
+    return hg.incoming(ui, repo, source, opts)
 
 
 @command(