ui: drop the deprecated `getpath()`
This was deprecated in 5.9.
--- 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