tests: avoid unnecessarily looking inside .hg/ in test-narrow*
Many of the narrow tests were looking at .hg/narrowspec. I think most of them were written before we added `hg tracked`, but now that we have that command, we should fix the tests. There were also a few instances of tests looking at .hg/dirstate. I fixed those to use `hg files` instead. Differential Revision: https://phab.mercurial-scm.org/D4093
Showing
- tests/test-narrow-clone-no-ellipsis.t 8 additions, 14 deletionstests/test-narrow-clone-no-ellipsis.t
- tests/test-narrow-clone.t 8 additions, 14 deletionstests/test-narrow-clone.t
- tests/test-narrow-expanddirstate.t 14 additions, 14 deletionstests/test-narrow-expanddirstate.t
- tests/test-narrow-patterns.t 30 additions, 40 deletionstests/test-narrow-patterns.t
Loading
Please register or sign in to comment