[PATCH] keyword: support extensions using dorecord, e.g. crecord
Christian Ebert
blacktrash at gmx.net
Tue May 11 02:51:02 CDT 2010
* Christian Ebert on Sunday, May 09, 2010 at 12:56:39 +0200
> # HG changeset patch
> # User Christian Ebert <blacktrash at gmx.net>
> # Date 1273396483 -7200
> # Node ID 4be95ea45fc6c018f10b04eee262c0a2d6821af9
> # Parent 0bedcbcb3ae2caca7f8894c6b53c901475aad6a1
> 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
As Mark from crecord has been very cooperative, it would be nice
if this could be considered.
thx
c
--
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org/
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions
More information about the Mercurial-devel
mailing list