0

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?

user427969
  • 3,836
  • 6
  • 50
  • 75
DBK
  • 403
  • 4
  • 13

1 Answers1

1

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)

Lazy Badger
  • 94,711
  • 9
  • 78
  • 110