equal
deleted
inserted
replaced
1167 if not (self.configbool('devel', 'all-warnings') |
1167 if not (self.configbool('devel', 'all-warnings') |
1168 or self.configbool('devel', 'deprec-warn')): |
1168 or self.configbool('devel', 'deprec-warn')): |
1169 return |
1169 return |
1170 msg += ("\n(compatibility will be dropped after Mercurial-%s," |
1170 msg += ("\n(compatibility will be dropped after Mercurial-%s," |
1171 " update your code.)") % version |
1171 " update your code.)") % version |
1172 self.develwarn(msg, stacklevel=2) |
1172 self.develwarn(msg, stacklevel=2, config='deprec-warn') |
1173 |
1173 |
1174 class paths(dict): |
1174 class paths(dict): |
1175 """Represents a collection of paths and their configs. |
1175 """Represents a collection of paths and their configs. |
1176 |
1176 |
1177 Data is initially derived from ui instances and the config files they have |
1177 Data is initially derived from ui instances and the config files they have |