This patch adds dirty logic to check whether we are processing hg unbundle
instead of an hg incoming to prevent the wrapping of bundle2.processparts
function.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHGe5cd0ef5c362: infinitepush: don't wrap bundle2.processparts while calling `hg unbundle`
Diff Detail
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
Comment Actions
Can the op argument be used instead?
Also, given the hackiness of this, I'd feel much better if there were test coverage for hg unbundle continuing to work with this extension enabled.
Comment Actions
The next patch adds test coverage. So I think this is fine. A follow-up to make this less hacky (if possible) would be appreciated, but isn't required.