Mercurial > hg
diff tests/test-subrepo-deep-nested-change.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 | 7f633432ca92 |
children | 7e5be4a7cda7 |
line wrap: on
line diff
--- a/tests/test-subrepo-deep-nested-change.t Tue Jan 11 16:32:38 2022 +0100 +++ b/tests/test-subrepo-deep-nested-change.t Fri Jan 07 17:32:25 2022 +0100 @@ -192,7 +192,7 @@ 3 files updated, 0 files merged, 0 files removed, 0 files unresolved Largefiles is NOT enabled in the clone if the source repo doesn't require it - $ grep largefiles cloned/.hg/hgrc + $ hg debugrequires -R cloned | grep largefiles [1] Checking cloned repo ids @@ -776,7 +776,7 @@ extensions.largefiles= $ hg --config extensions.largefiles= clone -qU . ../lfclone - $ grep largefiles ../lfclone/.hg/requires + $ hg debugrequires -R ../lfclone | grep largefiles largefiles Find an exact match to a standin (should archive nothing)