# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1603966345 -3600 # Node ID 18c17d63fdabd009e70bf994e5efb7db422f4f7f # Parent bea8cf87bef3c40abd194dff37fc8d4584169a9a i18n: fix coding tag unsupported by xgettext Running `make update-pot` currently fails with the following error: xgettext: mercurial/metadata.py:1: Unknown encoding "utf8". Proceeding with ASCII instead. xgettext: Non-ASCII string at mercurial/metadata.py:311. Please specify the source encoding through --from-code or through a comment as specified in http://www.python.org/peps/pep-0263.html. Differential Revision: https://phab.mercurial-scm.org/D9260 diff -r bea8cf87bef3 -r 18c17d63fdab mercurial/metadata.py --- a/mercurial/metadata.py Thu Oct 29 11:11:54 2020 +0100 +++ b/mercurial/metadata.py Thu Oct 29 11:12:25 2020 +0100 @@ -1,4 +1,4 @@ -# coding: utf8 +# coding: utf-8 # metadata.py -- code related to various metadata computation and access. # # Copyright 2019 Google, Inc