Issue #26 new

hgrc configuration page has problems with %include lines

erh
created an issue

If I try to edit the configuration for a repository whose .hg/hgrc file has an include line, such as: {{{ %include hgrc.foo }}}

I get an error at the top of the page, but the regular edit form still shows up: {{{ A PHP Error was encountered Severity: Notice Message: Undefined offset: 1 Filename: libraries/iniparser.php Line Number: 59 }}}

Attempting to save the configuration results in a page that just says: {{{ Disallowed Key Characters. }}}

Comments (1)

  1. Anonymous

    I get this exact error just after install so I think it is a config problem. Five of them on a page to be exact

    "A PHP Error was encountered

    Severity: Notice

    Message: Undefined offset: 1

    Filename: libraries/iniparser.php

    Line Number: 59"

  2. Log in to comment