tests: add head warning messages
authorPierre-Yves David <pierre-yves.david@fb.com>
Sun, 14 Feb 2016 14:37:40 +0000
changeset 1616 c216b175d535
parent 1614 99077dbb83e0
child 1618 a3da15803b7a
tests: add head warning messages Core gained a warning about other head on the same branch. This impact our tests.
tests/test-obsolete.t
tests/test-sharing.t
--- a/tests/test-obsolete.t	Thu Feb 11 00:44:28 2016 +0000
+++ b/tests/test-obsolete.t	Sun Feb 14 14:37:40 2016 +0000
@@ -457,6 +457,7 @@
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg up 
   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  1 other heads for branch "default"
   $ hg id -n
   8
 
--- a/tests/test-sharing.t	Thu Feb 11 00:44:28 2016 +0000
+++ b/tests/test-sharing.t	Sun Feb 14 14:37:40 2016 +0000
@@ -89,6 +89,7 @@
   added 1 changesets with 1 changes to 1 files (+1 heads)
   2 new obsolescence markers
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  1 other heads for branch "default"
 
 Figure SG03
   $ hg shortlog --hidden -G
@@ -119,6 +120,7 @@
   $ cd ../test-repo
   $ hg update
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  1 other heads for branch "default"
   $ hg shortlog --hidden -G
   @  4:de6151c48e1c  draft  fix bug 37
   |