##// END OF EJS Templates
ui: fix two bugs in %% warning
Matt Mackall -
r8642:2ed353a4 default
parent child Browse files
Show More
@@ -199,7 +199,7 b' class ui(object):'
199 def _path(self, loc):
199 def _path(self, loc):
200 p = self.config('paths', loc)
200 p = self.config('paths', loc)
201 if p and '%%' in p:
201 if p and '%%' in p:
202 ui.warn('(deprecated \'\%\%\' in path %s=%s from %s)\n' %
202 self.warn('(deprecated \'%%\' in path %s=%s from %s)\n' %
203 (loc, p, self.configsource('paths', loc)))
203 (loc, p, self.configsource('paths', loc)))
204 p = p.replace('%%', '%')
204 p = p.replace('%%', '%')
205 return p
205 return p
General Comments 0
You need to be logged in to leave comments. Login now