mercurial/revset.py
changeset 46720 66fb04552122
parent 46663 a4c19a162615
child 46809 56d441256e82
--- a/mercurial/revset.py	Mon Mar 15 10:57:02 2021 +0100
+++ b/mercurial/revset.py	Thu Mar 11 17:26:49 2021 +0100
@@ -1826,9 +1826,9 @@
         l and getstring(l[0], _(b"outgoing requires a repository path")) or b''
     )
     if not dest:
-        # ui.paths.getpath() explicitly tests for None, not just a boolean
+        # ui.getpath() explicitly tests for None, not just a boolean
         dest = None
-    path = repo.ui.paths.getpath(dest, default=(b'default-push', b'default'))
+    path = repo.ui.getpath(dest, default=(b'default-push', b'default'))
     if not path:
         raise error.Abort(
             _(b'default repository not configured!'),