mercurial/hg.py
changeset 46733 66fb04552122
parent 46702 a4c19a162615
child 46774 af7535249ea9
--- a/mercurial/hg.py	Mon Mar 15 10:57:02 2021 +0100
+++ b/mercurial/hg.py	Thu Mar 11 17:26:49 2021 +0100
@@ -1317,7 +1317,7 @@
 
 
 def _outgoing(ui, repo, dest, opts):
-    path = ui.paths.getpath(dest, default=(b'default-push', b'default'))
+    path = ui.getpath(dest, default=(b'default-push', b'default'))
     if not path:
         raise error.Abort(
             _(b'default repository not configured!'),