--- a/mercurial/utils/stringutil.py Mon Jul 22 16:49:38 2024 +0200
+++ b/mercurial/utils/stringutil.py Tue Jul 23 10:02:46 2024 +0200
@@ -574,6 +574,7 @@
return mailmap
for line in mailmapcontent.splitlines():
+
# Don't bother checking the line if it is a comment or
# is an improperly formed author field
if line.lstrip().startswith(b'#'):
@@ -800,6 +801,7 @@
chunks.reverse()
while chunks:
+
# Start the list of chunks that will make up the current line.
# cur_len is just the length of all the chunks in cur_line.
cur_line = []