diff tests/test-newbranch.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 6e65b451b62e
children 4c94b6d0fb1c
line wrap: on
line diff
--- a/tests/test-newbranch.out	Tue Jun 08 18:01:07 2010 +0200
+++ b/tests/test-newbranch.out	Tue Jun 08 22:28:42 2010 +0200
@@ -4,6 +4,7 @@
 % branch shadowing
 abort: a branch of the same name already exists (use 'hg update' to switch to it)
 marked working directory as branch default
+created new head
 % there should be only one default branch head
 changeset:   3:bf1bc2f45e83
 tag:         tip