Mercurial > hg
diff tests/test-remotefilelog-bundle2-legacy.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 | 0800d9e6e216 |
children | d718eddf01d9 |
line wrap: on
line diff
--- a/tests/test-remotefilelog-bundle2-legacy.t Tue Jan 11 16:32:38 2022 +0100 +++ b/tests/test-remotefilelog-bundle2-legacy.t Fri Jan 07 17:32:25 2022 +0100 @@ -40,7 +40,7 @@ > EOF $ hg init master - $ grep generaldelta master/.hg/requires + $ hg debugrequires -R master | grep generaldelta generaldelta $ cd master preferuncompressed = False so that we can make both generaldelta and non-generaldelta clones