Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
48656:100481195114 | 48657:68b7faeb6ef3 |
---|---|
190 cloning subrepo sub1 from $TESTTMP/sub1 | 190 cloning subrepo sub1 from $TESTTMP/sub1 |
191 cloning subrepo sub1/sub2 from $TESTTMP/sub2 | 191 cloning subrepo sub1/sub2 from $TESTTMP/sub2 |
192 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | 192 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
193 | 193 |
194 Largefiles is NOT enabled in the clone if the source repo doesn't require it | 194 Largefiles is NOT enabled in the clone if the source repo doesn't require it |
195 $ grep largefiles cloned/.hg/hgrc | 195 $ hg debugrequires -R cloned | grep largefiles |
196 [1] | 196 [1] |
197 | 197 |
198 Checking cloned repo ids | 198 Checking cloned repo ids |
199 | 199 |
200 $ printf "cloned " ; hg id -R cloned | 200 $ printf "cloned " ; hg id -R cloned |
774 | 774 |
775 $ hg showconfig extensions | 775 $ hg showconfig extensions |
776 extensions.largefiles= | 776 extensions.largefiles= |
777 | 777 |
778 $ hg --config extensions.largefiles= clone -qU . ../lfclone | 778 $ hg --config extensions.largefiles= clone -qU . ../lfclone |
779 $ grep largefiles ../lfclone/.hg/requires | 779 $ hg debugrequires -R ../lfclone | grep largefiles |
780 largefiles | 780 largefiles |
781 | 781 |
782 Find an exact match to a standin (should archive nothing) | 782 Find an exact match to a standin (should archive nothing) |
783 $ hg --config extensions.largefiles= archive -S -I 'sub/sub2/.hglf/large.bin' ../archive_lf | 783 $ hg --config extensions.largefiles= archive -S -I 'sub/sub2/.hglf/large.bin' ../archive_lf |
784 $ find ../archive_lf 2> /dev/null | sort | 784 $ find ../archive_lf 2> /dev/null | sort |