Mercurial > hg-stable
changeset 37249:2ed180117f76
stringutil: edit comment to reflect actual data type name
In development the data type used to hold an email/name pair
was called a "mailmaptup" since it was implemented as a
namedtuple. The implementation has since been changed to use
an @attr.s decorated class named mailmapping. This commit
changes a comment to reflect this change.
Differential Revision: https://phab.mercurial-scm.org/D3004
author | Connor Sheehan <sheehan@mozilla.com> |
---|---|
date | Sat, 31 Mar 2018 13:01:20 -0400 |
parents | 0e7550b0964c |
children | dfb38c4850a9 |
files | mercurial/utils/stringutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/utils/stringutil.py Sat Mar 31 11:36:55 2018 -0400 +++ b/mercurial/utils/stringutil.py Sat Mar 31 13:01:20 2018 -0400 @@ -300,7 +300,7 @@ if not isauthorwellformed(author) or not mailmap: return author - # Turn the user name into a mailmaptup + # Turn the user name into a mailmapping commit = mailmapping(name=person(author), email=email(author)) try: