Show More
@@ -335,7 +335,7 b' def _dispatch(ui, args):' | |||
|
335 | 335 | path = _findrepo(os.getcwd()) or "" |
|
336 | 336 | if not path: |
|
337 | 337 | lui = ui |
|
338 | if path: | |
|
338 | else: | |
|
339 | 339 | try: |
|
340 | 340 | lui = ui.copy() |
|
341 | 341 | lui.readconfig(os.path.join(path, ".hg", "hgrc")) |
@@ -40,4 +40,5 b' class repository(object):' | |||
|
40 | 40 | url = self.url() |
|
41 | 41 | if url.endswith('/'): |
|
42 | 42 | return url + path |
|
43 | return url + '/' + path | |
|
43 | else: | |
|
44 | return url + '/' + path |
@@ -199,7 +199,7 b' class ui(object):' | |||
|
199 | 199 | def _path(self, loc): |
|
200 | 200 | p = self.config('paths', loc) |
|
201 | 201 | if p and '%%' in p: |
|
202 |
self.warn(' |
|
|
202 | self.warn("(deprecated '%%' in path %s=%s from %s)\n" % | |
|
203 | 203 | (loc, p, self.configsource('paths', loc))) |
|
204 | 204 | p = p.replace('%%', '%') |
|
205 | 205 | return p |
General Comments 0
You need to be logged in to leave comments.
Login now