HomePhabricator

tests: demonstrate bug in `hg fix` with incorrectly dirty working copy

Authored by martinvonz.

Description

tests: demonstrate bug in hg fix with incorrectly dirty working copy

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.

Differential Revision: https://phab.mercurial-scm.org/D11208

Details

Committed
martinvonzJul 22 2021, 8:12 PM
Differential Revision
D11208: tests: demonstrate bug in `hg fix` with incorrectly dirty working copy
Parents
rHG6b9ad3a0c348: upgrade: byteify an i18n message
Branches
Unknown
Tags
Unknown