This avoids unnecessarily touching the working copy when splitting the
parent of the working copy. That also makes the test-removeemptydirs.t
case invalid, so we can just delete it.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG42e2c7c52e1b: split: use the new movedirstate() we now have in scmutil
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
tests/test-removeemptydirs.t | ||
---|---|---|
269 | Do we have other tests covering such cases? This test might be helpful in future for someone changing some behavior around the dirstate handling code. |
tests/test-removeemptydirs.t | ||
---|---|---|
269 | Not for split. It just doesn't happen anymore, because split no longer touches the working directory. We have other tests for removed directories in this file. |
Do we have other tests covering such cases?
This test might be helpful in future for someone changing some behavior around the dirstate handling code.