changeset 47029 | 9ea75ea23534 |
parent 47028 | d69a9628eba7 |
child 47030 | c2b5365aa827 |
--- a/mercurial/utils/urlutil.py Thu Apr 15 10:01:44 2021 +0200 +++ b/mercurial/utils/urlutil.py Thu Apr 15 10:05:51 2021 +0200 @@ -610,6 +610,8 @@ Returns None if ``name`` is not a registered path, a URI, or a local path to a repo. """ + msg = b'getpath is deprecated, use `get_*` functions from urlutil' + self.deprecwarn(msg, '6.0') # Only fall back to default if no path was requested. if name is None: if not default: