# HG changeset patch # User Connor Sheehan # Date 2018-03-31 17:01:20 # Node ID 2ed180117f7658d0cbf6a1ece20944465c55c947 # Parent 0e7550b0964c2ca56e5e9a315aef743330ec6760 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 diff --git a/mercurial/utils/stringutil.py b/mercurial/utils/stringutil.py --- a/mercurial/utils/stringutil.py +++ b/mercurial/utils/stringutil.py @@ -300,7 +300,7 @@ def mapname(mailmap, author): 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: