Skip to content

dirstate-v2: no longer register the data-file during transaction

If the data file change during the transaction, we cannot truncate it.

The content of the file itself is fine as it will get backed up at the same time as the docket.

Leaving the trailing data at the end of failed transaction is fine. The dirstate-v2 format supports it. The dead data will simply we written over if necessary.

Merge request reports