[Python-apps-team] Bug#737498: mercurial: "hg import" fails to decode encoded author name in Git format patches

Raphaël Hertzog hertzog at debian.org
Mon Feb 3 08:26:58 UTC 2014


Package: mercurial
Version: 2.8.2-1
Severity: normal

Mercurial's documentation tells that "hg import" is able to handle "git
format diff" (as generated by git-format-patch) and effectively the import
works with one notable exception in my case: it fails to decode my
encoded-name (due to the accent on Raphaël) in the From field:

From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= <hertzog at debian.org>
Date: Thu, 30 Jan 2014 12:23:25 +0100
Subject: [PATCH] Switch type of multiple 512* accounts to "disponibilites"

After an import of a patch starting with this I got this:

$ hg log
changeset:   25:edc1b79d0089
tag:         tip
user:        =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= <hertzog at debian.org>
date:        Mon Feb 03 08:12:57 2014 +0100
summary:     Switch type of multiple 512* accounts to "disponibilites"

When the correct import should have given this:

$ hg log
changeset:   25:391d8869e9fe
tag:         tip
user:        Raphaël Hertzog <hertzog at debian.org>
date:        Mon Feb 03 08:12:57 2014 +0100
summary:     Switch type of multiple 512* accounts to "disponibilites"

Cheers,
-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mercurial depends on:
ii  libc6             2.17-97
ii  mercurial-common  2.8.2-1
ii  python            2.7.5-5
ii  ucf               3.0027+nmu1

Versions of packages mercurial recommends:
ii  openssh-client  1:6.4p1-2
ii  tk8.5 [wish]    8.5.14-2
ii  tk8.6 [wish]    8.6.0-1

Versions of packages mercurial suggests:
ii  meld             1.8.4-1
pn  qct              <none>
ii  vim              2:7.4.052-1
ii  vim-gnome [vim]  2:7.4.052-1

-- no debconf information



More information about the Python-apps-team mailing list