Mercurial > hg
comparison tests/test-rhg-sparse-narrow.t @ 49489:7c93e38a0bbd
rhg-status: add support for narrow clones
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 25 Jul 2022 15:39:04 +0200 |
parents | ffd4b1f1c9cb |
children | 2f2682f40ea0 |
comparison
equal
deleted
inserted
replaced
49488:9f14126cfc4c | 49489:7c93e38a0bbd |
---|---|
83 [252] | 83 [252] |
84 $ "$real_hg" files -r "$tip" | 84 $ "$real_hg" files -r "$tip" |
85 dir1/x | 85 dir1/x |
86 dir1/y | 86 dir1/y |
87 | 87 |
88 Hg status needs to do some filtering based on narrow spec, so we don't | 88 Hg status needs to do some filtering based on narrow spec |
89 support it in rhg for narrow clones yet. | |
90 | 89 |
91 $ mkdir dir2 | 90 $ mkdir dir2 |
92 $ touch dir2/q | 91 $ touch dir2/q |
93 $ "$real_hg" status | 92 $ "$real_hg" status |
94 $ $NO_FALLBACK rhg --config rhg.status=true status | 93 $ $NO_FALLBACK rhg --config rhg.status=true status |
95 unsupported feature: rhg status is not supported for narrow clones yet | |
96 [252] | |
97 | 94 |
98 Adding "orphaned" index files: | 95 Adding "orphaned" index files: |
99 | 96 |
100 $ (cd ..; cp repo-sparse/.hg/store/data/hide.i repo-narrow/.hg/store/data/hide.i) | 97 $ (cd ..; cp repo-sparse/.hg/store/data/hide.i repo-narrow/.hg/store/data/hide.i) |
101 $ (cd ..; mkdir repo-narrow/.hg/store/data/dir2; cp repo-sparse/.hg/store/data/dir2/z.i repo-narrow/.hg/store/data/dir2/z.i) | 98 $ (cd ..; mkdir repo-narrow/.hg/store/data/dir2; cp repo-sparse/.hg/store/data/dir2/z.i repo-narrow/.hg/store/data/dir2/z.i) |