##// END OF EJS Templates
Add support for extension modules...
Add support for extension modules This adds support for an [extensions] section to hgrc. This has the form of: [extensions] mod=[path] If a path is specified, the python module found at that path is load. Otherwise, __import__ is used to find the module. Each module must implement a dict called cmdtable where the command line options for that module live. Each module must also implement a reposetup function: cmdtable = {} def reposetup(ui, repo): pass Index: hg/mercurial/ui.py ===================================================================

File last commit:

r201:f918a6fa default
r1071:8f0ac653 default
Show More
map-raw
14 lines | 485 B | text/plain | TextLexer
header = header-raw.tmpl
footer = ""
changeset = changeset-raw.tmpl
annotateline = "<tr class="parity#parity#"><td class="annotate"><a href="?cmd=changeset;node=#node#">#author#@#rev#</a></td><td><pre>#line#</pre></td></tr>"
difflineplus = "#line#"
difflineminus = "#line#"
difflineat = "#line#"
diffline = "#line#"
changesetparent = "# parent: #node#"
filenodelink = "#file#"
filerevision = filerevision-raw.tmpl
fileline = "#line#"
diffblock = "#lines#"
filediff = filediff-raw.tmpl