[Updated] D12592: test-dirstate: use new `--docket` flag to get the data uuid

Alphare (Raphaël Gomès) phabricator at mercurial-scm.org
Wed May 4 14:24:01 UTC 2022


Closed by commit rHG51262af89efe: test-dirstate: use new `--docket` flag to get the data uuid (authored by Alphare).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Revision".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D12592?vs=33323&id=33341

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

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

AFFECTED FILES
  tests/test-dirstate.t

CHANGE DETAILS

diff --git a/tests/test-dirstate.t b/tests/test-dirstate.t
--- a/tests/test-dirstate.t
+++ b/tests/test-dirstate.t
@@ -129,7 +129,7 @@
   > }
 
   $ find_dirstate_uuid () {
-  >   dirstate_data_files | sed 's#.hg/dirstate.##'
+  >   hg debugstate --docket | grep uuid | sed 's/.*uuid: \(.*\)/\1/'
   > }
 
   $ dirstate_uuid_has_not_changed () {



To: Alphare, #hg-reviewers, marmoute
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220504/a5ca4f05/attachment-0002.html>


More information about the Mercurial-patches mailing list