This is an archive of the discontinued Mercurial Phabricator instance.

infinitepush: use bundleoperation.source instead of hacking on tr
ClosedPublic

Authored by pulkit on Mar 31 2018, 6:24 AM.

Details

Summary

Previous patches added a soutce attribute to bundle2.bundleoperation class which
stores the command which leads to current bundleoperation. Let's use that to
decide whether a processing a hg unbundle or not instead of hacking on
transaction.

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

pulkit created this revision.Mar 31 2018, 6:24 AM
indygreg accepted this revision.Mar 31 2018, 1:16 PM
This revision is now accepted and ready to land.Mar 31 2018, 1:16 PM
This revision was automatically updated to reflect the committed changes.