keyword expansion for archive only
Christian Ebert
blacktrash at gmx.net
Thu Feb 15 20:54:56 UTC 2007
* Christian Ebert on Thursday, February 15, 2007 at 21:48:10 +0100:
> * 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
**.txt =
grrh...
> 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)
--
_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