tests/test-hgweb-commands.t
changeset 39637 23b749b84b8a
parent 39449 c3491d3f8984
child 39723 5abc47d4ca6b
equal deleted inserted replaced
39636:b220851999b5 39637: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'