1 | | No, branch name etc. is metadata, and therefore Mercurial always use UTF-8 for that (cf. [https://www.mercurial-scm.org/wiki/EncodingStrategy#UTF-8_strings EncodingStrategy#UTF-8_strings]). |
| 1 | No, branch name etc. is metadata, and therefore Mercurial always uses UTF-8 for that (cf. [https://www.mercurial-scm.org/wiki/EncodingStrategy#UTF-8_strings EncodingStrategy#UTF-8_strings]) |
| 2 | + what we did in #7217 to ensure that it stays in UTF-8 on the hg side. |
| 3 | |
| 4 | I'm rather thinking of using `to_unicode` for the metadata, that would simplify things. |
| 5 | |
| 6 | If we still want to support legacy encodings for the metadata, then we probably need to split `[hg] encoding` into several other options, as this tries to do too many things (also considering the [https://www.mercurial-scm.org/wiki/EncodingStrategy#Mercurial_.3C.3D_2.0_strategy: current mess w.r.t. filenames]). |