This is an archive of the discontinued Mercurial Phabricator instance.

discovery: add a devel.discovery.exchange-heads
ClosedPublic

Authored by marmoute on Jan 15 2021, 7:26 PM.

Details

Summary

Currently all discovery start with testing local and remote heads. For analysis
purpose we make it possible to disable that initial "handshake" and start
discovery with the whole repository as undecided.

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.Jan 15 2021, 7:26 PM
pulkit added a subscriber: pulkit.Jan 16 2021, 4:04 AM
pulkit added inline comments.
mercurial/configitems.py
705

hm, s/will not start but with/will not start with?

mercurial/setdiscovery.py
447

Any reason to not drop False?

marmoute updated this revision to Diff 24976.Jan 16 2021, 8:04 AM
pulkit accepted this revision.Jan 17 2021, 11:42 AM
This revision is now accepted and ready to land.Jan 17 2021, 11:42 AM
This revision was automatically updated to reflect the committed changes.