diff -r bbe59cc5d2e1 -r 587153c96fe3 hgext/phabricator.py --- a/hgext/phabricator.py Mon Jul 22 18:20:29 2024 +0200 +++ b/hgext/phabricator.py Tue Jul 23 19:01:16 2024 -0400 @@ -698,7 +698,7 @@ oldLength = attr.ib(default=0) # camelcase-required newOffset = attr.ib(default=0) # camelcase-required newLength = attr.ib(default=0) # camelcase-required - corpus = attr.ib(default='') + corpus = attr.ib(default=b'') # These get added to the phabchange's equivalents addLines = attr.ib(default=0) # camelcase-required delLines = attr.ib(default=0) # camelcase-required