diff tests/test-largefiles-misc.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 e4acdf5d94a2
children 93d6f0e7ba2f
line wrap: on
line diff
--- a/tests/test-largefiles-misc.t	Tue Jan 11 16:32:38 2022 +0100
+++ b/tests/test-largefiles-misc.t	Fri Jan 07 17:32:25 2022 +0100
@@ -267,7 +267,7 @@
   getting changed largefiles
   1 largefiles updated, 0 removed
   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  $ grep largefiles ../shared_lfrepo/.hg/requires
+  $ hg debugrequires -R ../shared_lfrepo | grep largefiles
   largefiles
 
 verify that large files in subrepos handled properly