diff -r defabf63e969 -r 8ff1ecfadcd1 mercurial/hgweb/request.py --- a/mercurial/hgweb/request.py Tue Oct 08 15:15:37 2019 -0700 +++ b/mercurial/hgweb/request.py Tue Oct 08 15:06:18 2019 -0700 @@ -516,7 +516,7 @@ if self._bodygen is not None or self._bodywillwrite: raise error.ProgrammingError( - b"must use setbodybytes('') with " b"304 responses" + b"must use setbodybytes('') with 304 responses" ) # Various HTTP clients (notably httplib) won't read the HTTP response