mercurial/ui.py
changeset 49838 b7f33ed1d909
parent 49837 dcf983a5f906
child 50253 444fa55f5dd2
--- a/mercurial/ui.py	Tue Jan 03 11:48:21 2023 -0500
+++ b/mercurial/ui.py	Tue Jan 03 11:51:56 2023 -0500
@@ -1103,15 +1103,6 @@
     def paths(self):
         return urlutil.paths(self)
 
-    def getpath(self, *args, **kwargs):
-        """see paths.getpath for details
-
-        This method exist as `getpath` need a ui for potential warning message.
-        """
-        msg = b'ui.getpath is deprecated, use `get_*` functions from urlutil'
-        self.deprecwarn(msg, b'6.0')
-        return self.paths.getpath(self, *args, **kwargs)
-
     @property
     def fout(self):
         return self._fout