Patchwork D10545: enforcesinglehead-test: add the expected node output next to the error

login
register
mail settings
Submitter phabricator
Date May 3, 2021, 12:34 a.m.
Message ID <differential-rev-PHID-DREV-bqsdfgf46xkpuufgkezd-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48864/
State Superseded
Headers show

Comments

phabricator - May 3, 2021, 12:34 a.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  this make it simpler to validate that the test is correct.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D10545

AFFECTED FILES
  tests/test-single-head.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-single-head.t b/tests/test-single-head.t
--- a/tests/test-single-head.t
+++ b/tests/test-single-head.t
@@ -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