[PATCH] add keyword extension
Emanuele Aina
faina.mail at tiscali.it
Wed Jan 3 16:34:09 CST 2007
Christian Ebert presentò:
> +Simple setup in hgrc:
> +
> + # enable extension
> + hgext.keyword =
> +
> + # filename patterns for expansion are configured in this section
> + [keyword]
> + *.sty = expand
> + ...
> +
> + # set up pretxncommit hook
> + [hooks]
> + pretxncommit =
> + pretxncommit.keyword = python:hgext.keyword.pretxnkw
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?
--
Buongiorno.
Complimenti per l'ottima scelta.
More information about the Mercurial-devel
mailing list