changeset 49925:b7f33ed1d909

ui: drop the deprecated `getpath()` This was deprecated in 5.9.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 03 Jan 2023 11:51:56 -0500
parents dcf983a5f906
children a9602a84a442
files mercurial/ui.py
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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