[Updated] D11478: persistent-nodemap: use quiet upgrade in tests

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Tue Sep 28 08:08:19 UTC 2021


Closed by commit rHGce01b97a93da: persistent-nodemap: use quiet upgrade in tests (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/D11478?vs=30352&id=30405

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11478/new/

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

AFFECTED FILES
  tests/test-persistent-nodemap.t

CHANGE DETAILS

diff --git a/tests/test-persistent-nodemap.t b/tests/test-persistent-nodemap.t
--- a/tests/test-persistent-nodemap.t
+++ b/tests/test-persistent-nodemap.t
@@ -631,7 +631,7 @@
   compression:        zlib   zlib    zlib (no-zstd !)
   compression:        zstd   zstd    zstd (zstd !)
   compression-level:  default default default
-  $ hg debugupgraderepo --run --no-backup
+  $ hg debugupgraderepo --run --no-backup --quiet
   upgrade will perform the following actions:
   
   requirements
@@ -645,12 +645,6 @@
     - changelog
     - manifest
   
-  beginning upgrade...
-  repository locked and read-only
-  creating temporary repository to stage upgraded data: $TESTTMP/test-repo/.hg/upgrade.* (glob)
-  (it is safe to interrupt this process any time before data migration completes)
-  downgrading repository to not use persistent nodemap feature
-  removing temporary repository $TESTTMP/test-repo/.hg/upgrade.* (glob)
   $ ls -1 .hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)'
   00changelog-*.nd (glob)
   00manifest-*.nd (glob)
@@ -681,7 +675,7 @@
   compression:        zlib   zlib    zlib (no-zstd !)
   compression:        zstd   zstd    zstd (zstd !)
   compression-level:  default default default
-  $ hg debugupgraderepo --run --no-backup
+  $ hg debugupgraderepo --run --no-backup --quiet
   upgrade will perform the following actions:
   
   requirements
@@ -690,20 +684,11 @@
      preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, revlog-compression-zstd, revlogv1, sparserevlog, store (zstd dirstate-v2 !)
      added: persistent-nodemap
   
-  persistent-nodemap
-     Speedup revision lookup by node id.
-  
   processed revlogs:
     - all-filelogs
     - changelog
     - manifest
   
-  beginning upgrade...
-  repository locked and read-only
-  creating temporary repository to stage upgraded data: $TESTTMP/test-repo/.hg/upgrade.* (glob)
-  (it is safe to interrupt this process any time before data migration completes)
-  upgrading repository to use persistent nodemap feature
-  removing temporary repository $TESTTMP/test-repo/.hg/upgrade.* (glob)
   $ ls -1 .hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)'
   00changelog-*.nd (glob)
   00changelog.n



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/20210928/dfb80117/attachment-0002.html>


More information about the Mercurial-patches mailing list