문제

I trying to enable gpg extension that comes with Mercurial to sign my change sets.

I am using the following two lines to enable the extension in the hgrc file: [extensions]

hgext.gpg= FILEPATH

After I have added these lines to the hgrc file, I am getting the following error:

***Failed to import extension hgext.gpg from ...location...: Non-ASCII character '\xf3' in file ...location... on line 1, 
but no encoding declared; see http://www.python.org/dev/peps/pep-0263.html for details

Can someone help me?

도움이 되었습니까?

해결책

OK, I read GPG Extension Wiki

This extension is currently being distributed along with Mercurial

and Configuration section also

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
hgext.gpg=

(see difference with yours)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top