This is an archive of the discontinued Mercurial Phabricator instance.

patchbomb: use `get_unique_pull_path`
ClosedPublic

Authored by marmoute on Apr 14 2021, 7:37 PM.

Details

Summary

The patchbomb code does not support multiple destinations yet. It would not be
too hard to implemented since hg outgoing does. However that is a bit too
much of a detour right now. In addition that kind of "select outgoing
changesets for processing" code exist for various commands so the best would be
to factor it out later.

Let us use the dedicated API until this is solved.

This comes with a small output change in the test that I find more accurate. So
I kept it.

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

marmoute created this revision.Apr 14 2021, 7:37 PM
pulkit accepted this revision.Apr 15 2021, 7:48 AM
This revision is now accepted and ready to land.Apr 15 2021, 7:48 AM
This revision was automatically updated to reflect the committed changes.