[Bug 6495] New: utf-8 encoding error in hg log --style changelog

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Mar 5 15:22:09 UTC 2021


https://bz.mercurial-scm.org/show_bug.cgi?id=6495

            Bug ID: 6495
           Summary: utf-8 encoding error in hg log --style changelog
           Product: Mercurial
           Version: 5.6.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: arne_bab at web.de
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

Using hg log --style=changelog with old repositories using non-utf-8 encoding,
hg aborts with an error.

To reproduce:

    hg clone https://hg.sr.ht/~arnebab/ews && cd ews/Hauptdokument/ews30/
    hg log --style=changelog >/dev/null

abort: decoding near 'triebe im �berblick ': 'utf-8' codec can't decode byte
0xdc in position 36: invalid continuation byte!


Normal log works:

    hg log >/dev/null

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list