Show More
@@ -1058,6 +1058,8 b' class ui(object):' | |||
|
1058 | 1058 | |
|
1059 | 1059 | This method exist as `getpath` need a ui for potential warning message. |
|
1060 | 1060 | """ |
|
1061 | msg = b'ui.getpath is deprecated, use `get_*` functions from urlutil' | |
|
1062 | self.deprecwarn(msg, '6.0') | |
|
1061 | 1063 | return self.paths.getpath(self, *args, **kwargs) |
|
1062 | 1064 | |
|
1063 | 1065 | @property |
@@ -610,6 +610,8 b' class paths(dict):' | |||
|
610 | 610 | Returns None if ``name`` is not a registered path, a URI, or a local |
|
611 | 611 | path to a repo. |
|
612 | 612 | """ |
|
613 | msg = b'getpath is deprecated, use `get_*` functions from urlutil' | |
|
614 | self.deprecwarn(msg, '6.0') | |
|
613 | 615 | # Only fall back to default if no path was requested. |
|
614 | 616 | if name is None: |
|
615 | 617 | if not default: |
General Comments 0
You need to be logged in to leave comments.
Login now