keyword expansion for archive only (was: [PATCH 1 of 2] keyword: expand RCS/CVS-like keywords in local directory)
Christian Ebert
blacktrash at gmx.net
Thu Feb 15 20:48:10 UTC 2007
* Rafael Villar Burke on Wednesday, February 14, 2007 at 05:24:24 +0100:
> What would probably be a nice feature is being able to expand keywords
> only when using hg archive with an --expand-keywords option. That way
> you don't mess with keyword expansion on normal operation, but you can
> get it when using archive, that I understand is hg's unversioned way to
> ease releasing the code.
I've done this now. Not by option though, but via config:
[keyword]
** = archive
**.txt
expands keywords in every non-binary file when archiving but only
in **.txt files in the working directory.
<http://www.blacktrash.org/cgi-bin/mercurial/hgkeyword/>
(standalone)
<http://www.blacktrash.org/cgi-bin/mercurial/hg-crew-keyword/>
(crew + keyword)
> Maybe it can also help hgweb to use it when downloading tarballs from it.
I was too optimistic in my other post about that. Perhaps I'll
find a way.
Should I send another patch against crew?
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