D6475: merge: fix race that could cause wrong size in dirstate

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Wed Jun 26 17:27:21 EDT 2019


martinvonz added a comment.


  In D6475#95878 <https://phab.mercurial-scm.org/D6475#95878>, @martinvonz wrote:
  
  > Try this:
  > `hg co -C 4.9; hg debugrebuilddirstate; hg co 5.0; hg st`
  > Before this patch, that produced an empty output as it should. After this patch, it lists hundreds of modified files (536 to be specific). A workaround is to add `--config worker.enabled=no`. Can you look into it? It's obviously a pretty serious bug that needs to be fixed before we release a new version.
  
  I forgot to say that what seems wrong in the dirstate is the size (probably other fields too, but size is probably the important one).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6475/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6475

To: valentin.gatienbaron, durin42, martinvonz, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list