This is an archive of the discontinued Mercurial Phabricator instance.

phabricator: don't abort if property writing fails during amending
ClosedPublic

Authored by Kwan on Sep 9 2019, 5:17 PM.

Details

Summary

Currently if one of the writediffproperty calls fails due to network issues
during the amending of commit messages to include the Diff. Rev. line, the
transaction is aborted and rolled back. This means that the associations
between the commits and the DREVs are lost for any already amended commits
because the removal of the local tags isn't covered by the rollback.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

Kwan created this revision.Sep 9 2019, 5:17 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.