equal
deleted
inserted
replaced
1 Tests if hgweb can run without touching sys.stdin, as is required |
1 Tests if hgweb can run without touching sys.stdin, as is required |
2 by the WSGI standard and strictly implemented by mod_wsgi. |
2 by the WSGI standard and strictly implemented by mod_wsgi. |
3 |
3 |
4 $ mkdir repo |
4 $ hg init repo |
5 $ cd repo |
5 $ cd repo |
6 $ hg init |
|
7 $ echo foo > bar |
6 $ echo foo > bar |
8 $ hg add bar |
7 $ hg add bar |
9 $ hg commit -m "test" |
8 $ hg commit -m "test" |
10 $ cat > request.py <<EOF |
9 $ cat > request.py <<EOF |
11 > from mercurial import dispatch |
10 > from mercurial import dispatch |