[Bug 6103] New: mailmap() does not support remapping improper author without email address

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Mar 15 19:54:11 UTC 2019


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

            Bug ID: 6103
           Summary: mailmap() does not support remapping improper author
                    without email address
           Product: Mercurial
           Version: 4.8
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: templater
          Assignee: bugzilla at mercurial-scm.org
          Reporter: patrickdepinguin+mercurial at gmail.com
                CC: mercurial-devel at mercurial-scm.org

The mailmap() function in templates expects the author-to-be-mapped to have an
email address. This is not always the case: many first-time users assume that
the 'ui.username' field is effectively a username, like 'jdoe'. Neither is
there a check to prevent such improper names.

Therefore, I think that mailmap should also allow correcting such bad names,
e.g. with a format:

Proper Name <proper.email> Bad Name

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


More information about the Mercurial-devel mailing list