Submitter | phabricator |
---|---|
Date | April 14, 2021, 11:41 p.m. |
Message ID | <differential-rev-PHID-DREV-oce6khrkwspwxxoyuh5m-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/48748/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -1030,6 +1030,8 @@ def expandpath(self, loc, default=None): """Return repository location relative to cwd or from [paths]""" + msg = b'ui.expandpath is deprecated, use `get_*` functions from urlutil' + self.deprecwarn(msg, '6.0') try: p = self.getpath(loc) if p: