This is an archive of the discontinued Mercurial Phabricator instance.

rebase: use single transaction when running in memory
ClosedPublic

Authored by martinvonz on Apr 4 2018, 1:52 PM.

Details

Summary

rebase.singletransaction make rebase noticeably faster (~20% in a test
I just ran). It is not enabled by default because it risks losing
information if it aborts (see hg help rebase). When running rebase
with the experimentla in-memory option on, rebase is first attempted
in memory, and if any conflicts occur, it restarts, this time writing
to disk. Thus, it should be safe to turn on single-transaction mode
for the in-memory phase.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Apr 4 2018, 1:52 PM
durin42 accepted this revision.Apr 4 2018, 2:18 PM
durin42 added a subscriber: durin42.

fixing typo in log message in flight

This revision is now accepted and ready to land.Apr 4 2018, 2:18 PM
This revision was automatically updated to reflect the committed changes.