[Commented On] D11986: test-copies: narrow the format check in test-copies-in-changeset.t
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Mon Jan 24 15:02:09 UTC 2022
baymax added a comment.
baymax updated this revision to Diff 31795.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11986?vs=31641&id=31795
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11986/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11986
AFFECTED FILES
tests/test-copies-in-changeset.t
CHANGE DETAILS
diff --git a/tests/test-copies-in-changeset.t b/tests/test-copies-in-changeset.t
--- a/tests/test-copies-in-changeset.t
+++ b/tests/test-copies-in-changeset.t
@@ -32,41 +32,17 @@
$ hg init repo
$ cd repo
#if sidedata
- $ hg debugformat -v
+ $ hg debugformat -v | egrep 'format-variant|revlog-v2|copies-sdc|changelog-v2'
format-variant repo config default
- fncache: yes yes yes
- dirstate-v2: no no no
- dotencode: yes yes yes
- generaldelta: yes yes yes
- share-safe: no no no
- sparserevlog: yes yes yes
- persistent-nodemap: no no no (no-rust !)
- persistent-nodemap: yes yes no (rust !)
copies-sdc: yes yes no
revlog-v2: no no no
changelog-v2: yes yes no
- plain-cl-delta: yes yes yes
- compression: zlib zlib zlib (no-zstd !)
- compression: zstd zstd zstd (zstd !)
- compression-level: default default default
#else
- $ hg debugformat -v
+ $ hg debugformat -v | egrep 'format-variant|revlog-v2|copies-sdc|changelog-v2'
format-variant repo config default
- fncache: yes yes yes
- dirstate-v2: no no no
- dotencode: yes yes yes
- generaldelta: yes yes yes
- share-safe: no no no
- sparserevlog: yes yes yes
- persistent-nodemap: no no no (no-rust !)
- persistent-nodemap: yes yes no (rust !)
copies-sdc: no no no
revlog-v2: no no no
changelog-v2: no no no
- plain-cl-delta: yes yes yes
- compression: zlib zlib zlib (no-zstd !)
- compression: zstd zstd zstd (zstd !)
- compression-level: default default default
#endif
$ echo a > a
$ hg add a
@@ -425,23 +401,11 @@
downgrading
- $ hg debugformat -v
+ $ hg debugformat -v | egrep 'format-variant|revlog-v2|copies-sdc|changelog-v2'
format-variant repo config default
- fncache: yes yes yes
- dirstate-v2: no no no
- dotencode: yes yes yes
- generaldelta: yes yes yes
- share-safe: no no no
- sparserevlog: yes yes yes
- persistent-nodemap: no no no (no-rust !)
- persistent-nodemap: yes yes no (rust !)
copies-sdc: yes yes no
revlog-v2: no no no
changelog-v2: yes yes no
- plain-cl-delta: yes yes yes
- compression: zlib zlib zlib (no-zstd !)
- compression: zstd zstd zstd (zstd !)
- compression-level: default default default
$ hg debugsidedata -c -- 0
1 sidedata entries
entry-0014 size 14
@@ -456,23 +420,11 @@
> revlogv2 = enable-unstable-format-and-corrupt-my-data
> EOF
$ hg debugupgraderepo --run --quiet --no-backup > /dev/null
- $ hg debugformat -v
+ $ hg debugformat -v | egrep 'format-variant|revlog-v2|copies-sdc|changelog-v2'
format-variant repo config default
- fncache: yes yes yes
- dirstate-v2: no no no
- dotencode: yes yes yes
- generaldelta: yes yes yes
- share-safe: no no no
- sparserevlog: yes yes yes
- persistent-nodemap: no no no (no-rust !)
- persistent-nodemap: yes yes no (rust !)
copies-sdc: no no no
revlog-v2: yes yes no
changelog-v2: no no no
- plain-cl-delta: yes yes yes
- compression: zlib zlib zlib (no-zstd !)
- compression: zstd zstd zstd (zstd !)
- compression-level: default default default
$ hg debugsidedata -c -- 0
$ hg debugsidedata -c -- 1
$ hg debugsidedata -m -- 0
@@ -484,23 +436,11 @@
> exp-use-copies-side-data-changeset = yes
> EOF
$ hg debugupgraderepo --run --quiet --no-backup > /dev/null
- $ hg debugformat -v
+ $ hg debugformat -v | egrep 'format-variant|revlog-v2|copies-sdc|changelog-v2'
format-variant repo config default
- fncache: yes yes yes
- dirstate-v2: no no no
- dotencode: yes yes yes
- generaldelta: yes yes yes
- share-safe: no no no
- sparserevlog: yes yes yes
- persistent-nodemap: no no no (no-rust !)
- persistent-nodemap: yes yes no (rust !)
copies-sdc: yes yes no
revlog-v2: no no no
changelog-v2: yes yes no
- plain-cl-delta: yes yes yes
- compression: zlib zlib zlib (no-zstd !)
- compression: zstd zstd zstd (zstd !)
- compression-level: default default default
$ hg debugsidedata -c -- 0
1 sidedata entries
entry-0014 size 14
To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220124/55259e0c/attachment-0002.html>
More information about the Mercurial-patches
mailing list