[PATCH 2 of 2] keyword: add: SVN-like keywords and config section to select their use

Christian Ebert blacktrash at gmx.net
Thu Feb 4 01:15:25 CST 2010


* Kevin Grover on Wednesday, February 03, 2010 at 17:08:46 -0600
> On Wed, Feb 3, 2010 at 3:40 AM, Christian Ebert <blacktrash at gmx.net> wrote:
>> I'm fine with the filters, but I must admit that personally I'm
>> not keen on adding more config sections and more -- albeit
>> optional -- templates, as I wasn't a friend of default templates
>> in the first place.
>> 
>> The same can be done in a (global) hgrc file already.
> 
> I agree.  However, it must be done for each repository, each time.

No. As long as you don't have to fear inadvertent expansions,
e.g. /etc/mercurial/hgrc or ~/.hgrc works fine system-wide or at
$HOME.

> Granted, the keywords still have to be turned on (and the style set to SVN
> for subversion keywords), however, if they're in keyword.py, they will be
> consistent across all repositories.

Same with a system-wide hgrc.

c
-- 
\black\trash movie    _C O W B O Y_  _C A N O E_  _C O M A_
                     Ein deutscher Western/A German Western

         --->> http://www.blacktrash.org/underdogma/ccc.php


More information about the Mercurial-devel mailing list