If the parent commit needs formatting but the working copy already has
the correct formatting, then the working copy will be reported as
modified even though it's clean (because the size in the dirstate is
incorrect). Because the bug only occurs when the size changes, I
modified the formatter used in the test case to remove repeated
spaces.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG184d83ef2e59: tests: demonstrate bug in `hg fix` with incorrectly dirty working copy
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.