comparison tests/test-win32text.t @ 48388:f5dea753fe4e

win32text: drop associated dirstate cache information on revert Otherwise the could get size from one version of the file while the on-disk version is still clean but with another size. This fix the previously introduced error. Differential Revision: https://phab.mercurial-scm.org/D11792
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 23 Nov 2021 03:22:30 +0100
parents 9f1b9e128788
children
comparison
equal deleted inserted replaced
48387:f838f5bca038 48388:f5dea753fe4e
416 $ hg st -q 416 $ hg st -q
417 M linefeed 417 M linefeed
418 $ hg revert -a 418 $ hg revert -a
419 reverting linefeed 419 reverting linefeed
420 $ hg st -q 420 $ hg st -q
421 M linefeed (known-bad-output !)
422 $ cat linefeed 421 $ cat linefeed
423 % just linefeed\r (esc) 422 % just linefeed\r (esc)
424 423
425 $ cd .. 424 $ cd ..