D6840: hgweb: add a `message` attribute to `hgweb.common.ErrorResponse`

sheehan (Connor Sheehan) phabricator at mercurial-scm.org
Wed Sep 11 03:01:11 EDT 2019


Closed by commit rHG8d9322b6e687: hgweb: add a `message` attribute to `hgweb.common.ErrorResponse` (authored by sheehan).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6840?vs=16508&id=16513

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6840/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6840

AFFECTED FILES
  mercurial/hgweb/common.py

CHANGE DETAILS

diff --git a/mercurial/hgweb/common.py b/mercurial/hgweb/common.py
--- a/mercurial/hgweb/common.py
+++ b/mercurial/hgweb/common.py
@@ -106,6 +106,7 @@
         if headers is None:
             headers = []
         self.headers = headers
+        self.message = message
 
 class continuereader(object):
     """File object wrapper to handle HTTP 100-continue.



To: sheehan, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list