Mercurial > hg
comparison tests/test-rhg-sparse-narrow.t @ 49984:df9eabc9837b
rust-narrow: enable narrow support for plain `rhg files`
Support for `rhg files -r NODE` in a future changeset.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Wed, 11 Jan 2023 17:08:23 +0100 |
parents | 2f2682f40ea0 |
children | e57f76c28f7b |
comparison
equal
deleted
inserted
replaced
49983:795b5b01cbd2 | 49984:df9eabc9837b |
---|---|
74 [255] | 74 [255] |
75 $ "$real_hg" cat -r "$tip" hide | 75 $ "$real_hg" cat -r "$tip" hide |
76 [1] | 76 [1] |
77 | 77 |
78 A naive implementation of [rhg files] leaks the paths that are supposed to be | 78 A naive implementation of [rhg files] leaks the paths that are supposed to be |
79 hidden by narrow, so we just fall back to hg. | 79 hidden by narrow, so we just fall back to hg when accessing a revision. |
80 | 80 |
81 $ $NO_FALLBACK rhg files -r "$tip" | 81 $ $NO_FALLBACK rhg files -r "$tip" |
82 unsupported feature: rhg files -r <rev> is not supported in narrow clones | 82 unsupported feature: rhg files -r <rev> is not supported in narrow clones |
83 [252] | 83 [252] |
84 $ "$real_hg" files -r "$tip" | 84 $ "$real_hg" files -r "$tip" |
85 dir1/x | |
86 dir1/y | |
87 | |
88 The working copy version works with narrow correctly | |
89 | |
90 $ $NO_FALLBACK rhg files | |
91 dir1/x | |
92 dir1/y | |
93 $ "$real_hg" files | |
85 dir1/x | 94 dir1/x |
86 dir1/y | 95 dir1/y |
87 | 96 |
88 Hg status needs to do some filtering based on narrow spec | 97 Hg status needs to do some filtering based on narrow spec |
89 | 98 |