This will allow more pull code to use the path options. Ideally we would modify
the peer API to keep the path instance. However that is much more churn that I
can deal with for my current goal: adjusting a user facing API for a new
feature before we release it in the 6.0 changesets. So I am taking a shortcut
that seems reasonable.
Details
Details
- Reviewers
pulkit Alphare - Group Reviewers
hg-reviewers - Commits
- rHG7d1e60244561: path: keep the path instance in the `pulloperation`
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
In hg-git, we currently intercept mercurial.exchange.pull() and need to keep compatibility with both the upcoming release and earlier releases. The API change here — inserting a named argument _before_ a positional used by earlier releases — is rather obnoxious to work around. Sure, it's possible, but it won't be pretty…
Please consider moving the new argument to the end.
Comment Actions
That seems reasonable, especially since we would hopefully merge it into the peer later.
Let me try to get a patch ready.