equal
deleted
inserted
replaced
1 $ "$TESTDIR/hghave" serve || exit 80 |
1 $ "$TESTDIR/hghave" serve || exit 80 |
|
2 |
|
3 hide outer repo and work in dir without '.hg' |
|
4 $ hg init |
|
5 $ mkdir dir |
|
6 $ cd dir |
2 |
7 |
3 Tests some basic hgwebdir functionality. Tests setting up paths and |
8 Tests some basic hgwebdir functionality. Tests setting up paths and |
4 collection, different forms of 404s and the subdirectory support. |
9 collection, different forms of 404s and the subdirectory support. |
5 |
10 |
6 $ mkdir webdir |
11 $ mkdir webdir |
57 |
62 |
58 $ hg init nostore |
63 $ hg init nostore |
59 $ rm -R nostore/.hg/store |
64 $ rm -R nostore/.hg/store |
60 $ root=`pwd` |
65 $ root=`pwd` |
61 $ cd .. |
66 $ cd .. |
|
67 |
|
68 serve |
62 $ cat > paths.conf <<EOF |
69 $ cat > paths.conf <<EOF |
63 > [paths] |
70 > [paths] |
64 > a=$root/a |
71 > a=$root/a |
65 > b=$root/b |
72 > b=$root/b |
66 > EOF |
73 > EOF |