stringutil: edit comment to reflect actual data type name
authorConnor Sheehan <sheehan@mozilla.com>
Sat, 31 Mar 2018 13:01:20 -0400
changeset 37247 2ed180117f76
parent 37246 0e7550b0964c
child 37248 dfb38c4850a9
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
mercurial/utils/stringutil.py
--- 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: