[PATCH] eol: support alternate location for .hgeol file (issue3975)

Jorge Acereda jacereda at brainstorm.es
Thu Jul 11 02:28:09 CDT 2013


On Jul 11, 2013, at 9:03 AM, Martin Geisler wrote:

> Jorge Acereda <jacereda at brainstorm.es> writes:
> 
>> # HG changeset patch
>> # User Jorge Acereda <jacereda at brainstorm.es>
>> # Date 1373469140 -7200
>> # Branch stable
>> # Node ID 3487e904f78164e70cf91552419e1ecf235d8daf
>> # Parent  fbdac607bff3dfc0056268ca77e524a5ddd4f665
>> eol: support alternate location for .hgeol file (issue3975)
>> 
>> Adds a 'config' setting to the [eol] section that can be used to
>> specify an alternate location for the .hgeol file. This can help when
>> dealing with lots of subrepos.
> 
> How does it help? Wont you now have to add
> 
>  [eol]
>  config = ~/shared-cfg/hgeol
> 
> to .hg/hgrc in all your subrepos? If so, then adding .hgeol files to
> each repo sound easier.


shared-cfg is a mercurial repo shared by all the team.


My $HOME/.hgrc looks like:

%include ~/shared-cfg/hgrc
...

And ~/shared-cfg/hgrc has:

[eol]
config = ~/shared-cfg/hgeol
...






More information about the Mercurial-devel mailing list