*** failed to import extension histedit: unsupported locale setting
Created originally on Bitbucket by Mojca Miklavec
When I do an operation from TortoiseHg UI or even when I use mercurial that came bundled with TortoiseHg, I get the following problem:
c:\Program Files\TortoiseHg>hg --version
*** failed to import extension histedit: unsupported locale setting
Mercurial Distributed SCM (version 5.0.2)
(see https://mercurial-scm.org for more information)
Copyright (C) 2005-2019 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I installed TortoiseHg on a brand new computer (running for just a few hours) using Windows 10. I didn’t install python or mercurial or anything else remotely related to Tortoise before. This could well be a mercurial issue, I’ll try to uninstall TortoiseHg later and install a standalone mercurial binary later, as well as standalone python and continue with some testing. I wanted to run python from TortoiseHg directly and check what Python thinks my locale is, but I’m not sure how I could do that. If I later manage to isolate the issue to standalone mercurial, I’ll open an issue there and post a link.