comparison tests/test-hgweb-no-path-info.t @ 13956:ffb5c09ba822

tests: remove redundant mkdir There are still many tests that check that a bare 'hg init' initializes the current directory.
author Martin Geisler <mg@lazybytes.net>
date Tue, 19 Apr 2011 12:04:44 +0200
parents 4c4aeaab2339
children f2719b387380
comparison
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