Patchwork D10337: persistent-nodemap: disable it for test-wireproto-command-capabilities.t

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

Comments

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

REVISION SUMMARY
  This is not relevant for the test and this will avoid a lot of variations.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-wireproto-command-capabilities.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-wireproto-command-capabilities.t b/tests/test-wireproto-command-capabilities.t
--- a/tests/test-wireproto-command-capabilities.t
+++ b/tests/test-wireproto-command-capabilities.t
@@ -2,6 +2,13 @@ 
 
   $ . $TESTDIR/wireprotohelpers.sh
 
+persistent-nodemap is not enabled by default. It is not relevant for this test so disable it.
+
+  $ cat >> $HGRCPATH << EOF
+  > [format]
+  > use-persistent-nodemap = no
+  > EOF
+
   $ hg init server
 
 zstd isn't present in plain builds. Make tests easier by removing