comparison tests/test-largefiles.t @ 32245:3a755652ce3a

merge with stable
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 12 May 2017 11:20:25 -0700
parents 1b27e1793156
children b6776b34e44e
comparison
equal deleted inserted replaced
32244:3de4c61b5087 32245:3a755652ce3a
209 -rw-r--r-- 9 normal4 209 -rw-r--r-- 9 normal4
210 210
211 211
212 $ killdaemons.py 212 $ killdaemons.py
213 #endif 213 #endif
214
215 Test largefiles can be loaded in hgweb (wrapcommand() shouldn't fail)
216
217 $ cat <<EOF > "$TESTTMP/hgweb.cgi"
218 > #!/usr/bin/env python
219 > from mercurial import demandimport; demandimport.enable()
220 > from mercurial.hgweb import hgweb
221 > from mercurial.hgweb import wsgicgi
222 > application = hgweb('.', 'test repo')
223 > wsgicgi.launch(application)
224 > EOF
225
226 $ PATH_INFO='/' \
227 > QUERY_STRING='' \
228 > REQUEST_METHOD='GET' \
229 > SCRIPT_NAME='' \
230 > SERVER_NAME='localhost' \
231 > SERVER_PORT='80' \
232 > python "$TESTTMP/hgweb.cgi" > /dev/null
214 233
215 Test archiving the various revisions. These hit corner cases known with 234 Test archiving the various revisions. These hit corner cases known with
216 archiving. 235 archiving.
217 236
218 $ hg archive -r 0 ../archive0 237 $ hg archive -r 0 ../archive0