Mercurial > hg
comparison hgext/schemes.py @ 10777:bdc3256a318e stable
schemes: add Kiln On Demand to default schemes
author | Benjamin Pollack <benjamin@bitquabit.com> |
---|---|
date | Wed, 24 Mar 2010 16:42:08 -0400 |
parents | 08a0f04b56bd |
children | fbf32a6c903e |
comparison
equal
deleted
inserted
replaced
10772:1e819576e926 | 10777:bdc3256a318e |
---|---|
32 [schemes] | 32 [schemes] |
33 py = http://hg.python.org/ | 33 py = http://hg.python.org/ |
34 bb = https://bitbucket.org/ | 34 bb = https://bitbucket.org/ |
35 bb+ssh = ssh://hg@bitbucket.org/ | 35 bb+ssh = ssh://hg@bitbucket.org/ |
36 gcode = https://{1}.googlecode.com/hg/ | 36 gcode = https://{1}.googlecode.com/hg/ |
37 kiln = https://{1}.kilnhg.com/Repo/ | |
37 | 38 |
38 You can override a predefined scheme by defining a new scheme with the | 39 You can override a predefined scheme by defining a new scheme with the |
39 same name. | 40 same name. |
40 """ | 41 """ |
41 | 42 |
70 | 71 |
71 schemes = { | 72 schemes = { |
72 'py': 'http://hg.python.org/', | 73 'py': 'http://hg.python.org/', |
73 'bb': 'https://bitbucket.org/', | 74 'bb': 'https://bitbucket.org/', |
74 'bb+ssh': 'ssh://hg@bitbucket.org/', | 75 'bb+ssh': 'ssh://hg@bitbucket.org/', |
75 'gcode': 'https://{1}.googlecode.com/hg/' | 76 'gcode': 'https://{1}.googlecode.com/hg/', |
77 'kiln': 'https://{1}.kilnhg.com/Repo/' | |
76 } | 78 } |
77 | 79 |
78 def extsetup(ui): | 80 def extsetup(ui): |
79 schemes.update(dict(ui.configitems('schemes'))) | 81 schemes.update(dict(ui.configitems('schemes'))) |
80 t = templater.engine(lambda x: x) | 82 t = templater.engine(lambda x: x) |