Patchwork D12445: test-issue660: add dirstate-v2 variant

login
register
mail settings
Submitter phabricator
Date April 6, 2022, 2:10 p.m.
Message ID <differential-rev-PHID-DREV-vbq6swgjamnw6efdnzkn-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50791/
State New
Headers show

Comments

phabricator - April 6, 2022, 2:10 p.m.
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  It's basically a dirstate test, so it makes sense to test out the new version.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-issue660.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-issue660.t b/tests/test-issue660.t
--- a/tests/test-issue660.t
+++ b/tests/test-issue660.t
@@ -1,3 +1,14 @@ 
+#testcases dirstate-v1 dirstate-v2
+
+#if dirstate-v2
+  $ cat >> $HGRCPATH << EOF
+  > [format]
+  > use-dirstate-v2=1
+  > [storage]
+  > dirstate-v2.slow-path=allow
+  > EOF
+#endif
+
 https://bz.mercurial-scm.org/660 and:
 https://bz.mercurial-scm.org/322