[PATCH] add keyword extension

Christian Ebert blacktrash at gmx.net
Fri Jan 5 08:22:48 CST 2007


* Emanuele Aina on Wednesday, January 03, 2007 at 23:34:09 +0100:
> Maybe the extension could register itself with the hook without 
> requiring the user to explicitly list it in the [hooks] section, having 
> already enabled it before?

Yup. Would be better. Only I don't know how to do that ;-)

Still better imho would be to "insert" the overwriting in
commit(), but, again, I would have to know what I'm doing.

BTW. I think you can savely remove the add() method in kwfilelog.

In case you're interested, my current version is at:
<http://www.blacktrash.org/downloads/hgkewyord/keyword.py>

c
-- 
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>


More information about the Mercurial-devel mailing list