Mercurial > hg
comparison mercurial/metadata.py @ 45764:18c17d63fdab stable 5.6
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
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Thu, 29 Oct 2020 11:12:25 +0100 |
parents | edf4fa06df94 |
children | 89a2afe31e82 |
comparison
equal
deleted
inserted
replaced
45763:bea8cf87bef3 | 45764:18c17d63fdab |
---|---|
1 # coding: utf8 | 1 # coding: utf-8 |
2 # metadata.py -- code related to various metadata computation and access. | 2 # metadata.py -- code related to various metadata computation and access. |
3 # | 3 # |
4 # Copyright 2019 Google, Inc <martinvonz@google.com> | 4 # Copyright 2019 Google, Inc <martinvonz@google.com> |
5 # Copyright 2020 Pierre-Yves David <pierre-yves.david@octobus.net> | 5 # Copyright 2020 Pierre-Yves David <pierre-yves.david@octobus.net> |
6 # | 6 # |