hgext/schemes.py
branchstable
changeset 10777 bdc3256a318e
parent 10282 08a0f04b56bd
child 13822 fbf32a6c903e
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)