[Updated] D11894: test: simplify `debugformat` matching in test-phases.t
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Mon Dec 13 15:01:37 UTC 2021
Closed by commit rHG880adb2cd147: test: simplify `debugformat` matching in test-phases.t (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11894?vs=31424&id=31459
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11894/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11894
AFFECTED FILES
tests/test-phases.t
CHANGE DETAILS
diff --git a/tests/test-phases.t b/tests/test-phases.t
--- a/tests/test-phases.t
+++ b/tests/test-phases.t
@@ -882,16 +882,8 @@
$ hg init no-internal-phase --config format.internal-phase=no
$ cd no-internal-phase
- $ cat .hg/requires
- dotencode
- dirstate-v2 (dirstate-v2 !)
- fncache
- generaldelta
- persistent-nodemap (rust !)
- revlog-compression-zstd (zstd !)
- revlogv1
- sparserevlog
- store
+ $ hg debugrequires | grep internal-phase
+ [1]
$ echo X > X
$ hg add X
$ hg status
@@ -911,17 +903,8 @@
$ hg init internal-phase --config format.internal-phase=yes
$ cd internal-phase
- $ cat .hg/requires
- dotencode
- dirstate-v2 (dirstate-v2 !)
- fncache
- generaldelta
+ $ hg debugrequires | grep internal-phase
internal-phase
- persistent-nodemap (rust !)
- revlog-compression-zstd (zstd !)
- revlogv1
- sparserevlog
- store
$ mkcommit A
test-debug-phase: new rev 0: x -> 1
test-hook-close-phase: 4a2df7238c3b48766b5e22fafbb8a2f506ec8256: -> draft
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/20211213/3f6a0e87/attachment-0002.html>
More information about the Mercurial-patches
mailing list