[PATCH STABLE] help: do not abort topicmatch() because of unimportable extensions

Kevin Bullock kbullock+mercurial at ringworld.org
Fri Oct 20 11:23:07 EDT 2017


> On Oct 20, 2017, at 10:19, Yuya Nishihara <yuya at tcha.org> wrote:
> 
> On Fri, 20 Oct 2017 10:07:03 -0500, Kevin Bullock wrote:
>> (+junw)
>> 
>>> On Oct 20, 2017, at 10:06, Kevin Bullock <kbullock+mercurial at ringworld.org> wrote:
>>> 
>>>> On Oct 20, 2017, at 08:24, Yuya Nishihara <yuya at tcha.org> wrote:
>>>> 
>>>> # HG changeset patch
>>>> # User Yuya Nishihara <yuya at tcha.org>
>>>> # Date 1501942537 -32400
>>>> #      Sat Aug 05 23:15:37 2017 +0900
>>>> # Branch stable
>>>> # Node ID cd3e41ae547b07c03bd05ee0fef23ca27504383b
>>>> # Parent  498697fe41f2ff08432743d62ee87f9c22630c81
>>>> help: do not abort topicmatch() because of unimportable extensions
>>>> 
>>>> This is alternative workaround to D1198, originally spotted by the earlier
>>>> version of the releasenotes extension.
>>> 
>>> I thought the error was arising from some combination of chg and highlight? I can't trigger the problem here, can you give me some pointers?
> 
> It's demandimport or not. With chg where demandimport disabled,
> hgext/highlight/highlight.py is imported at early stage and ImportError
> would be raised if pygments weren't installed.

Got it. Queued, thanks.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list