comparison tests/test-remotefilelog-clone.t @ 48464:5e6542143d40

test: use `hg debugrequires` instead of `cat` in some tests This give the "same" result, while taking in account that the requirement file might be in different location, like what `share-safe` is doing. Differential Revision: https://phab.mercurial-scm.org/D11895
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 08 Dec 2021 05:35:32 +0100
parents f35529784079
children 7ee07e1a25c0
comparison
equal deleted inserted replaced
48463:880adb2cd147 48464:5e6542143d40
20 2 files to transfer, 227 bytes of data 20 2 files to transfer, 227 bytes of data
21 transferred 227 bytes in * seconds (*/sec) (glob) 21 transferred 227 bytes in * seconds (*/sec) (glob)
22 searching for changes 22 searching for changes
23 no changes found 23 no changes found
24 $ cd shallow 24 $ cd shallow
25 $ cat .hg/requires 25 $ hg debugrequires
26 dotencode 26 dotencode
27 dirstate-v2 (dirstate-v2 !) 27 dirstate-v2 (dirstate-v2 !)
28 exp-remotefilelog-repo-req-1 28 exp-remotefilelog-repo-req-1
29 fncache 29 fncache
30 generaldelta 30 generaldelta
57 3 files to transfer, 564 bytes of data 57 3 files to transfer, 564 bytes of data
58 transferred 564 bytes in * seconds (*/sec) (glob) 58 transferred 564 bytes in * seconds (*/sec) (glob)
59 searching for changes 59 searching for changes
60 no changes found 60 no changes found
61 $ cd shallow2 61 $ cd shallow2
62 $ cat .hg/requires 62 $ hg debugrequires
63 dotencode 63 dotencode
64 dirstate-v2 (dirstate-v2 !) 64 dirstate-v2 (dirstate-v2 !)
65 exp-remotefilelog-repo-req-1 65 exp-remotefilelog-repo-req-1
66 fncache 66 fncache
67 generaldelta 67 generaldelta
109 new changesets b292c1e3311f 109 new changesets b292c1e3311f
110 updating to branch default 110 updating to branch default
111 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 111 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
112 112
113 $ ls shallow3/.hg/store/data 113 $ ls shallow3/.hg/store/data
114 $ cat shallow3/.hg/requires 114 $ hg debugrequires -R shallow3/
115 dotencode 115 dotencode
116 dirstate-v2 (dirstate-v2 !) 116 dirstate-v2 (dirstate-v2 !)
117 exp-remotefilelog-repo-req-1 117 exp-remotefilelog-repo-req-1
118 fncache 118 fncache
119 generaldelta 119 generaldelta