Issue reading configuration from .hg/hgrc inside project

Mads Kiilerich mads at kiilerich.com
Thu May 20 21:06:26 UTC 2021


On 4/21/21 1:50 PM, Mads Kiilerich wrote:
> On 4/21/21 2:09 AM, Felipe Cardoso Resende wrote:
>> Hi,
>>
>> I'm experimenting with kallithea but I'm having trouble making it
>> read from the .hg/hgrc inside the project. Looking through
>> the history, I found the revision 802fdeefc8cc linking to
>> Issue #246 [1] that changes how the configuration is read.
>>
>> I looked into mercurial.ui.ui.readconfig and it expects a filename 
>> instead
>> of the repo_path. There is a Note there that seems to imply that 
>> .hg/hgrc will
>> be read elsewhere, but I'm not that familiar with mercurial.
>>
>> Does anyone knows if its really a bug or if I'm missing something?
>
>
> Yes, it could seem like I made a mistake in 
> https://kallithea-scm.org/repos/kallithea/changeset/f83326e2e66c .


A fix has been pushed to the stable branch: 
https://kallithea-scm.org/repos/kallithea/changeset/c9834271cd066d4f734b0f7c56e94866057a789f

Some additional cleanup in this area has been pushed to the default 
branch and will probably soon be released in 0.7 .

Thanks for the report.

/Mads



More information about the kallithea-general mailing list