How to set an hgrc key to a value spanning multiple lines

Jouni Airaksinen Jouni.Airaksinen at descom.fi
Tue Jan 17 14:14:48 UTC 2012


Maybe the web.description could have such use.



From:   Michał Sznajder <michalsznajder at gmail.com>
To:     mercurial at selenic.com, 
Date:   16.01.2012 23.33
Subject:        Re: How to set an hgrc key to a value spanning multiple 
lines
Sent by:        mercurial-bounces at selenic.com



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
_______________________________________________
Mercurial mailing list
Mercurial at selenic.com
http://selenic.com/mailman/listinfo/mercurial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20120117/7e2bad0e/attachment-0002.html>


More information about the Mercurial mailing list