D962: hgweb: in protocol adapter, avoid control reaching end of non-void function
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe21f274cccea: hgweb: in protocol adapter, avoid control reaching end of non-void function (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D962?vs=2478=2523 REVISION DETAIL https://phab.mercurial-scm.org/D962 AFFECTED FILES mercurial/hgweb/protocol.py CHANGE DETAILS diff --git a/mercurial/hgweb/protocol.py b/mercurial/hgweb/protocol.py --- a/mercurial/hgweb/protocol.py +++ b/mercurial/hgweb/protocol.py @@ -15,6 +15,7 @@ ) from .. import ( +error, util, wireproto, ) @@ -199,3 +200,4 @@ rsp = rsp.message req.respond(HTTP_OK, HGERRTYPE, body=rsp) return [] +raise error.ProgrammingError('hgweb.protocol internal failure', rsp) To: durin42, #hg-reviewers, indygreg Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D962: hgweb: in protocol adapter, avoid control reaching end of non-void function
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This greatly confounded some Python 3 porting work, once it was managing to get this far. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D962 AFFECTED FILES mercurial/hgweb/protocol.py CHANGE DETAILS diff --git a/mercurial/hgweb/protocol.py b/mercurial/hgweb/protocol.py --- a/mercurial/hgweb/protocol.py +++ b/mercurial/hgweb/protocol.py @@ -15,6 +15,7 @@ ) from .. import ( +error, util, wireproto, ) @@ -199,3 +200,4 @@ rsp = rsp.message req.respond(HTTP_OK, HGERRTYPE, body=rsp) return [] +raise error.ProgrammingError('hgweb.protocol internal failure', rsp) To: durin42, #hg-reviewers Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel