yuja added inline comments.
INLINE COMMENTS
> webcommands.py:1220
> +web.res.setbodywillwrite()
> +assert list(web.res.sendresponse()) == []
> +
`assert` may be deleted by `-O`, but this one is important.
Can you send a followup?
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://ph
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG97f44b0720e2: hgweb: port archive command to modern
response API (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2792?vs=685
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Well, I tried to go with PEP 's recommendations and only allow
our WSGI application to emit data via a response generator.
Unfortunately, the "archive" comm