This is an archive of the discontinued Mercurial Phabricator instance.

absorb: aborting if another operation is in progress
ClosedPublic

Authored by rdamazio on Apr 16 2019, 1:16 AM.

Details

Summary

This increases safety of using absorb by both aborting when another operation
is in progress (since the absorption could confuse any other command a lot)
and holding the locks throughout the reading of the working directory (for
which changes to absorb) and the reading of the repo (for which changes to
absorb into).

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

rdamazio created this revision.Apr 16 2019, 1:16 AM
pulkit accepted this revision.Apr 16 2019, 7:55 AM
This revision was automatically updated to reflect the committed changes.