Mercurial > hg
view tests/test-hgweb-empty @ 11317:b66e414d38b0
commit: fix display of 'created new head' message (issue2186)
To avoid recurrent fixes for the display of this message, a summary table with
all case combinations has been added to the code.
Basically, there is two condition for the message to be printed:
* this is not an initial (named branch or topo) root
* none of the parents are in the current branch heads
author | Gilles Moris <gilles.moris@free.fr> |
---|---|
date | Tue, 08 Jun 2010 22:28:42 +0200 |
parents | 5f162f61e479 |
children |
line wrap: on
line source
#!/bin/sh # Some tests for hgweb in an empty repository hg init test cd test hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log cat hg.pid >> $DAEMON_PIDS ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/shortlog') ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log') ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/graph') ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file')