comparison tests/test-hgweb-commands.t @ 39621:23b749b84b8a

py3: call hgweb.hgweb() with bytes values # skip-blame because just b'' prefixes I believe this should fix some tests. Differential Revision: https://phab.mercurial-scm.org/D4594
author Pulkit Goyal <pulkit@yandex-team.ru>
date Sat, 15 Sep 2018 00:37:20 +0300
parents c3491d3f8984
children 5abc47d4ca6b
comparison
equal deleted inserted replaced
39620:b220851999b5 39621:23b749b84b8a
2274 $ hg bookmark -r4 secret 2274 $ hg bookmark -r4 secret
2275 $ cat > hgweb.cgi <<HGWEB 2275 $ cat > hgweb.cgi <<HGWEB
2276 > from mercurial import demandimport; demandimport.enable() 2276 > from mercurial import demandimport; demandimport.enable()
2277 > from mercurial.hgweb import hgweb 2277 > from mercurial.hgweb import hgweb
2278 > from mercurial.hgweb import wsgicgi 2278 > from mercurial.hgweb import wsgicgi
2279 > app = hgweb('.', 'test') 2279 > app = hgweb(b'.', b'test')
2280 > wsgicgi.launch(app) 2280 > wsgicgi.launch(app)
2281 > HGWEB 2281 > HGWEB
2282 $ . "$TESTDIR/cgienv" 2282 $ . "$TESTDIR/cgienv"
2283 $ PATH_INFO=/bookmarks; export PATH_INFO 2283 $ PATH_INFO=/bookmarks; export PATH_INFO
2284 $ QUERY_STRING='style=raw' 2284 $ QUERY_STRING='style=raw'