equal
deleted
inserted
replaced
213 #endif |
213 #endif |
214 |
214 |
215 Test largefiles can be loaded in hgweb (wrapcommand() shouldn't fail) |
215 Test largefiles can be loaded in hgweb (wrapcommand() shouldn't fail) |
216 |
216 |
217 $ cat <<EOF > "$TESTTMP/hgweb.cgi" |
217 $ cat <<EOF > "$TESTTMP/hgweb.cgi" |
218 > #!/usr/bin/env python |
218 > #!$PYTHON |
219 > from mercurial import demandimport; demandimport.enable() |
219 > from mercurial import demandimport; demandimport.enable() |
220 > from mercurial.hgweb import hgweb |
220 > from mercurial.hgweb import hgweb |
221 > from mercurial.hgweb import wsgicgi |
221 > from mercurial.hgweb import wsgicgi |
222 > application = hgweb('.', 'test repo') |
222 > application = hgweb('.', 'test repo') |
223 > wsgicgi.launch(application) |
223 > wsgicgi.launch(application) |