test
log
age | author | description |
---|---|---|
1970-01-01 | test | branchstable tip something |
1970-01-01 | test | Added tag 1.0 for changeset 2ef0ac749a14default |
1970-01-01 | test | base1.0 |
An attempt at more fully testing the hgweb web interface.
The following things are tested elsewhere and are therefore omitted:
- archive, tested in test-archive
- unbundle, tested in test-push-http
- changegroupsubset, tested in test-pull
Set up the repo
$ hg init test
$ cd test
$ mkdir da
$ echo foo > da/foo
$ echo foo > foo
$ hg ci -Ambase
adding da/foo
adding foo
$ hg tag 1.0
$ hg bookmark something
$ echo another > foo
$ hg branch stable
marked working directory as branch stable
$ hg ci -Ambranch
$ hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
$ cat hg.pid >> $DAEMON_PIDS
Logs and changes
$ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log/?style=atom'
200 Script output follows
branch
Added tag 1.0 for changeset 2ef0ac749a14
base
branch
Added tag 1.0 for changeset 2ef0ac749a14
base
base
age | author | description |
---|---|---|
1970-01-01 | test | branchstable tip something |
1970-01-01 | test | Added tag 1.0 for changeset 2ef0ac749a14default |
1970-01-01 | test | base1.0 |
author | test |
---|---|
date | Thu Jan 01 00:00:00 1970 +0000 (1970-01-01) |
parents | |
children | a4f92ed23982 |
files | da/foo foo |
author | test |
---|---|
date | Thu Jan 01 00:00:00 1970 +0000 (1970-01-01) |
parents | |
children | 1d22e65f027e |
description | unknown |
owner | Foo Bar <foo.bar@example.com> |
last change | Thu, 01 Jan 1970 00:00:00 +0000 |
1970-01-01 | test | branch | changeset | files |
1970-01-01 | test | Added tag 1.0 for changeset 2ef0ac749a14 | changeset | files |
1970-01-01 | test | base | changeset | files |
... |
1970-01-01 | 1.0 | changeset | changelog | files |
... |
1970-01-01 | 1d22e65f027e | stable | changeset | changelog | files |
1970-01-01 | a4f92ed23982 | default | changeset | changelog | files |
... |