D2957: infinitepush: don't wrap bundle2.processparts while calling `hg unbundle`

2018-03-30 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe5cd0ef5c362: infinitepush: dont wrap bundle2.processparts while calling `hg unbundle` (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2957: infinitepush: don't wrap bundle2.processparts while calling `hg unbundle`

2018-03-30 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a comment. This revision is now accepted and ready to land. 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. REPOSITORY rHG Mercurial

D2957: infinitepush: don't wrap bundle2.processparts while calling `hg unbundle`

2018-03-30 Thread indygreg (Gregory Szorc)
indygreg requested changes to this revision. indygreg added a comment. This revision now requires changes to proceed. 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

D2957: infinitepush: don't wrap bundle2.processparts while calling `hg unbundle`

2018-03-27 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 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