diff tests/test-rebase-scenario-global.t @ 48657:68b7faeb6ef3

tests: use debugrequires instead of grepping the file directly With `share-safe`, the requirements are stored in multiple files so it seems better to use the command that retrieve the information wherever it is. Differential Revision: https://phab.mercurial-scm.org/D11985
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 07 Jan 2022 17:32:25 +0100
parents d90f6237b3aa
children 42d2b31cee0b
line wrap: on
line diff
--- a/tests/test-rebase-scenario-global.t	Tue Jan 11 16:32:38 2022 +0100
+++ b/tests/test-rebase-scenario-global.t	Fri Jan 07 17:32:25 2022 +0100
@@ -380,7 +380,7 @@
 
   $ hg --config format.usegeneraldelta=no init issue5678
   $ cd issue5678
-  $ grep generaldelta .hg/requires
+  $ hg debugrequires | grep generaldelta
   [1]
   $ echo a > a
   $ hg ci -Aqm a