简体   繁体   中英

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

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM