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.
Details
Details
- Reviewers
durin42 pulkit - Group Reviewers
hg-reviewers - Commits
- rHGfa64a229f24b: tests: avoid unnecessarily looking inside .hg/ in test-narrow*
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
The commit message says you used hg debugdirstate but looking at changes, you used hg files. I think the commit message needs to be updated.
tests/test-narrow-expanddirstate.t | ||
---|---|---|
32 | This should be hg files. |
tests/test-narrow-expanddirstate.t | ||
---|---|---|
32 | Looks like you missed this comment. |
tests/test-narrow-expanddirstate.t | ||
---|---|---|
32 | Yes, I didn't notice that. Sorry about that, and thanks for careful review. |
This should be hg files.