Mercurial > hg
view tests/test-template-engine.out @ 11168:6d0d945f9e52
keyword: support extensions using dorecord, e.g. crecord
Provide extendable keyword.recordextensions variable, so other
extensions beside hgext.record which provide the dorecord function
can cooperate with hgext.keyword like so (example from crecord):
def extsetup():
try:
keyword = extensions.find('keyword')
keyword.restricted += ' crecord qcrecord'
try:
# use record support in keyword.py if present
keyword.recordcommands += ' crecord qcrecord'
keyword.recordextensions += ' crecord'
except AttributeError:
pass
except KeyError:
pass
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Sun, 09 May 2010 11:14:43 +0200 |
parents | d8c5a7f25a40 |
children |
line wrap: on
line source
adding changeset.txt adding mymap 0 97e5f848f0936960273bbf75be6388cd0350a32b test