hgkw/__init__.py
author Christian Ebert <blacktrash@gmx.net>
Sun, 09 May 2010 11:14:43 +0200
changeset 749 9f46c562c4b5
parent 0 41c7e55cd9e9
permissions -rw-r--r--
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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines: