comparison tests/test-dirstate-status-write-race.t @ 50225:53ca3e3bc013 stable

rhg: fix race when a fixup file is deleted on disk See next changeset for the other race in the same kind of logic and why there are two different places.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 27 Feb 2023 15:18:50 +0100
parents e30b9e43be7e
children 07d030b38097
comparison
equal deleted inserted replaced
50224:e30b9e43be7e 50225:53ca3e3bc013
380 R dir/nested/m 380 R dir/nested/m
381 ? dir/n 381 ? dir/n
382 ? p 382 ? p
383 ? q 383 ? q
384 $ cat $TESTTMP/status-race-lock.log 384 $ cat $TESTTMP/status-race-lock.log
385 abort: when reading $TESTTMP/race-with-update/dir2/k: $ENOENT$ (known-bad-output rhg !)
386 385
387 final cleanup 386 final cleanup
388 387
389 $ rm $TESTTMP/status-race-lock $TESTTMP/status-race-lock.waiting 388 $ rm $TESTTMP/status-race-lock $TESTTMP/status-race-lock.waiting
390 $ cd .. 389 $ cd ..
477 R dir/nested/m 476 R dir/nested/m
478 ? dir/n 477 ? dir/n
479 ? p 478 ? p
480 ? q 479 ? q
481 $ cat $TESTTMP/status-race-lock.log 480 $ cat $TESTTMP/status-race-lock.log
482 abort: when reading $TESTTMP/race-with-remove/dir2/l: $ENOENT$ (known-bad-output rhg !) 481
483 482 final cleanup
484 final cleanup 483
485 484 $ rm $TESTTMP/status-race-lock $TESTTMP/status-race-lock.waiting
486 $ rm $TESTTMP/status-race-lock $TESTTMP/status-race-lock.waiting 485 $ cd ..
487 $ cd ..