changeset 47080:54589bb9604d

enforcesinglehead-test: add the expected node output next to the error this make it simpler to validate that the test is correct. Differential Revision: https://phab.mercurial-scm.org/D10545
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 03 May 2021 02:33:00 +0200
parents 724db234b790
children a407fe56d6e8
files tests/test-single-head.t
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-single-head.t	Thu Apr 08 00:34:16 2021 +0200
+++ b/tests/test-single-head.t	Mon May 03 02:33:00 2021 +0200
@@ -65,6 +65,9 @@
   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
   $ mkcommit c_dD0
   created new head
+  $ hg log -r 'heads(::branch("default"))' -T '{node|short}\n'
+  286d02a6e2a2
+  9bf953aa81f6
   $ hg push -f
   pushing to $TESTTMP/single-head-server
   searching for changes