test
log
age | author | description |
---|---|---|
Thu Jan 01 00:00:00 1970 +0000 | test | branchstable tip something |
Thu Jan 01 00:00:00 1970 +0000 | test | Added tag 1.0 for changeset 2ef0ac749a14default |
Thu Jan 01 00:00:00 1970 +0000 | test | base1.0 anotherthing |
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
$ hg bookmark -r0 anotherthing
$ 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 |
---|---|---|
Thu Jan 01 00:00:00 1970 +0000 | test | branchstable tip something |
Thu Jan 01 00:00:00 1970 +0000 | test | Added tag 1.0 for changeset 2ef0ac749a14default |
Thu Jan 01 00:00:00 1970 +0000 | test | base1.0 anotherthing |
author | test |
---|---|
date | Thu Jan 01 00:00:00 1970 +0000 |
parents | |
children | a4f92ed23982 |
files | da/foo foo |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
author | test |
---|---|
date | Thu Jan 01 00:00:00 1970 +0000 |
parents | |
children | 1d22e65f027e |
description | unknown |
owner | Foo Bar <foo.bar@example.com> |
last change | Thu, 01 Jan 1970 00:00:00 +0000 |
Thu Jan 01 00:00:00 1970 +0000 | test | branch | changeset | files |
Thu Jan 01 00:00:00 1970 +0000 | test | Added tag 1.0 for changeset 2ef0ac749a14 | changeset | files |
Thu Jan 01 00:00:00 1970 +0000 | test | base | changeset | files |
... |
Thu Jan 01 00:00:00 1970 +0000 | 1.0 | changeset | changelog | files |
... |
Thu Jan 01 00:00:00 1970 +0000 | anotherthing | changeset | changelog | files |
Thu Jan 01 00:00:00 1970 +0000 | something | changeset | changelog | files |
... |
Thu Jan 01 00:00:00 1970 +0000 | 1d22e65f027e | stable | changeset | changelog | files |
Thu Jan 01 00:00:00 1970 +0000 | a4f92ed23982 | default | changeset | changelog | files |
... |