From patchwork Sat Mar 31 20:37:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D3004: stringutil: edit comment to reflect actual data type name From: phabricator X-Patchwork-Id: 30078 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Sat, 31 Mar 2018 20:37:57 +0000 sheehan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 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. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3004 AFFECTED FILES mercurial/utils/stringutil.py CHANGE DETAILS To: sheehan, #hg-reviewers Cc: mercurial-devel 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 @@ 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: