tests/test-hgweb-no-request-uri.t
changeset 13956 ffb5c09ba822
parent 12743 4c4aeaab2339
child 16913 f2719b387380
equal deleted inserted replaced
13954:1184bb274cb3 13956:ffb5c09ba822
     1 This tests if hgweb and hgwebdir still work if the REQUEST_URI variable is
     1 This tests if hgweb and hgwebdir still work if the REQUEST_URI variable is
     2 no longer passed with the request. Instead, SCRIPT_NAME and PATH_INFO
     2 no longer passed with the request. Instead, SCRIPT_NAME and PATH_INFO
     3 should be used from d74fc8dec2b4 onward to route the request.
     3 should be used from d74fc8dec2b4 onward to route the request.
     4 
     4 
     5   $ mkdir repo
     5   $ hg init repo
     6   $ cd repo
     6   $ cd repo
     7   $ hg init
       
     8   $ echo foo > bar
     7   $ echo foo > bar
     9   $ hg add bar
     8   $ hg add bar
    10   $ hg commit -m "test"
     9   $ hg commit -m "test"
    11   $ hg tip
    10   $ hg tip
    12   changeset:   0:61c9426e69fe
    11   changeset:   0:61c9426e69fe