How to set an hgrc key to a value spanning multiple lines
Didly
didlybom at gmail.com
Tue Jan 17 15:02:51 UTC 2012
On Mon, Jan 16, 2012 at 10:35 PM, Michał Sznajder
<michalsznajder at gmail.com> wrote:
> On Mon, Jan 16, 2012 at 10:23 PM, Angel Ezquerra Moreu
> <angel.ezquerra at gmail.com> wrote:
>> Hi,
>>
>> is there a way to set a key in an hgrc file that spans multiple lines?
>> I am working on an extension whose configuration setting a key to a
>> value that spans more than one line, and I don't know if that is even
>> possible.
>>
>> Any ideas?
>>
>
> According to http://www.selenic.com/mercurial/hgrc.5.html:
>
> Each line contains one entry. If the lines that follow are indented,
> they are treated as continuations of that entry. Leading whitespace
> is removed from values. Empty lines are skipped. Lines beginning
> with # or ; are ignored and may be used to provide comments.
>
> Though I do not recall any config entry of this type.
>
> Michal
Thank you Michal!
I tried and it works great!
Cheers,
Angel
More information about the Mercurial
mailing list