keyword extension compatible with 0.9.3
Christian Ebert
blacktrash at gmx.net
Wed Jan 10 09:03:42 UTC 2007
* Rafael Villar Burke on Monday, January 08, 2007 at 22:55:42 +0100:
> Something cool would be reusing the variables defined for the hgweb
> templates and use a small config file to do the mapping between some
> arbitrary keywords and those variables returning hg data. An example
> config file with the standard CVS keywords could be provided as an example.
Yeah, nice. What do you reckon would be a good place to put the
config file? templates? but I'd rather keep it all very local.
I'm not quite aquainted with the templating mechanism yet, but
something like
Date = '{date|rfc822date}'
could also be read from [keyword] section of repo's hgrc. Or hgrc
could contain
kwtemplate = /path/to/config/file
What do you think?
c
--
keyword extension for Mercurial (http://selenic.com/mercurial):
<http://www.blacktrash.org/cgi-bin/hgwebdir.cgi/hgkeyword>
More information about the Mercurial
mailing list