Mercurial > hg
view tests/test-share.out @ 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 | 2250fc372d34 |
children |
line wrap: on
line source
% prepare repo1 adding a % share it updating working directory 1 files updated, 0 files merged, 0 files removed, 0 files unresolved % contents of repo2/.hg pass: .hg/store does not exist $HGTMP/test-share/repo1/.hg % commit in shared clone % check original changeset: 1:8af4dc49db9e tag: tip user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: change in shared clone changeset: 0:d3873e73d99e user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: init 1 files updated, 0 files merged, 0 files removed, 0 files unresolved a a % commit in original adding b % check in shared clone changeset: 2:c2e0ac586386 tag: tip user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: another file changeset: 1:8af4dc49db9e user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: change in shared clone changeset: 0:d3873e73d99e user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: init 1 files updated, 0 files merged, 0 files removed, 0 files unresolved b % hg serve shared clone 200 Script output follows -rw-r--r-- 4 a -rw-r--r-- 2 b