equal
deleted
inserted
replaced
62 if len(parts) > self.parts: |
62 if len(parts) > self.parts: |
63 tail = parts[-1] |
63 tail = parts[-1] |
64 parts = parts[:-1] |
64 parts = parts[:-1] |
65 else: |
65 else: |
66 tail = '' |
66 tail = '' |
67 context = dict((str(i+1), v) for i, v in enumerate(parts)) |
67 context = dict((str(i + 1), v) for i, v in enumerate(parts)) |
68 url = ''.join(self.templater.process(self.url, context)) + tail |
68 url = ''.join(self.templater.process(self.url, context)) + tail |
69 return hg._lookup(url).instance(ui, url, create) |
69 return hg._lookup(url).instance(ui, url, create) |
70 |
70 |
71 schemes = { |
71 schemes = { |
72 'py': 'http://hg.python.org/', |
72 'py': 'http://hg.python.org/', |