Mercurial > hg
view tests/test-parseindex.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 | 6563438219e3 |
children | 4c94b6d0fb1c |
line wrap: on
line source
changeset: 0:9c2cf2b35aa7 user: test date: Mon Jan 12 13:46:40 1970 +0000 summary: add foo changeset: 1:3756a9556b89 tag: tip user: test date: Mon Jan 12 13:46:41 1970 +0000 summary: change foo 2 revisions: 9c2cf2b35aa7 3756a9556b89