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

login
register
mail settings
Submitter phabricator
Date Sept. 11, 2019, 7:01 a.m.
Message ID <f32bc22988db5a72bdd60f364ac0dce7@localhost.localdomain>
Download mbox | patch
Permalink /patch/41638/
State Not Applicable
Headers show

Comments

phabricator - Sept. 11, 2019, 7:01 a.m.
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




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

Patch

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.