D2792: hgweb: port archive command to modern response API

2018-03-16 Thread yuja (Yuya Nishihara)
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

D2792: hgweb: port archive command to modern response API

2018-03-12 Thread indygreg (Gregory Szorc)
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

D2792: hgweb: port archive command to modern response API

2018-03-10 Thread indygreg (Gregory Szorc)
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