Android Studio: "Unsupported Hg version Some hg extensions [mercurial_keyring] are not found..."

132 views Asked by At

Android Studio gets on my nerves for a few days on my new PC with following message on start:

"Unsupported Hg version Some hg extensions [mercurial_keyring] are not found or not supported by your hg version and will be ignored. Please, update your hgrc or Mercurial.ini file".

Everything works as it should (I only use "Annotate" in Studio). Why do they annoy me with this message?

I can disable keyring in TortoiseHg 5.0.2. Then Android Studio doesn't complain but without keyring I have to type in my password everytime I pull or push.

It's hard for me to ignore the message. How do I get rid of this?

1

There are 1 answers

0
The incredible Jan On BEST ANSWER

Update: Never trust a PC you didn't set up yourself from the start... The real problem was an additionale Mercurial installation. I realized it after updating TortoiseHg. The version number Android Studio displayed was still the old. I removed Mercurial and Python + Keyring and I am happy now. :)

First attempt: I had to install Python and keyring and then update the mercurial.ini (mercurial_keyring = path to mercurial_keyring.py). Now Android Studio is crying because it thinks it cannot find Mercurial but it works. TortoiseHg seems to work like before.

I'm considering removing Mercurial plugin from Android Studio because it's not worth all the hassle. Integrated "Annotate" was nice, but if you're just annoyed with problems otherwise, you can do without it.