Mercurial > hg
comparison tests/test-upgrade-repo.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 | 100481195114 |
children | 7ee07e1a25c0 |
comparison
equal
deleted
inserted
replaced
48656:100481195114 | 48657:68b7faeb6ef3 |
---|---|
1187 > threshold = 10 | 1187 > threshold = 10 |
1188 > EOF | 1188 > EOF |
1189 $ echo '123456789012345' > lfs.bin | 1189 $ echo '123456789012345' > lfs.bin |
1190 $ hg ci -Am 'lfs.bin' | 1190 $ hg ci -Am 'lfs.bin' |
1191 adding lfs.bin | 1191 adding lfs.bin |
1192 $ grep lfs .hg/requires | 1192 $ hg debugrequires | grep lfs |
1193 lfs | 1193 lfs |
1194 $ find .hg/store/lfs -type f | 1194 $ find .hg/store/lfs -type f |
1195 .hg/store/lfs/objects/d0/beab232adff5ba365880366ad30b1edb85c4c5372442b5d2fe27adc96d653f | 1195 .hg/store/lfs/objects/d0/beab232adff5ba365880366ad30b1edb85c4c5372442b5d2fe27adc96d653f |
1196 | 1196 |
1197 $ hg debugupgraderepo --run | 1197 $ hg debugupgraderepo --run |
1198 nothing to do | 1198 nothing to do |
1199 | 1199 |
1200 $ grep lfs .hg/requires | 1200 $ hg debugrequires | grep lfs |
1201 lfs | 1201 lfs |
1202 $ find .hg/store/lfs -type f | 1202 $ find .hg/store/lfs -type f |
1203 .hg/store/lfs/objects/d0/beab232adff5ba365880366ad30b1edb85c4c5372442b5d2fe27adc96d653f | 1203 .hg/store/lfs/objects/d0/beab232adff5ba365880366ad30b1edb85c4c5372442b5d2fe27adc96d653f |
1204 $ hg verify | 1204 $ hg verify |
1205 checking changesets | 1205 checking changesets |