##// END OF EJS Templates
ui: deprecated `ui.expandpath`...
marmoute -
r47727:b03527bd default
parent child Browse files
Show More
@@ -1030,6 +1030,8 b' class ui(object):'
1030
1030
1031 def expandpath(self, loc, default=None):
1031 def expandpath(self, loc, default=None):
1032 """Return repository location relative to cwd or from [paths]"""
1032 """Return repository location relative to cwd or from [paths]"""
1033 msg = b'ui.expandpath is deprecated, use `get_*` functions from urlutil'
1034 self.deprecwarn(msg, b'6.0')
1033 try:
1035 try:
1034 p = self.getpath(loc)
1036 p = self.getpath(loc)
1035 if p:
1037 if p:
General Comments 0
You need to be logged in to leave comments. Login now