This is an archive of the discontinued Mercurial Phabricator instance.

setdiscovery: pass srvheads into partialdiscovery constructor
Changes PlannedPublic

Authored by martinvonz on Jan 18 2019, 1:20 PM.

Details

Reviewers
lothiraldan
Group Reviewers
hg-reviewers
Summary

I found it hard to follow how disco._undecided was initialized (the
call to disco.addbases(srvheads) caused the disco.undecided property
to be access, which initialized disco._undecided). I think this patch
makes it easier.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Jan 18 2019, 1:20 PM
martinvonz planned changes to this revision.Jan 25 2019, 2:01 PM

This needs updating since it conflicts with changes made on the stable branch.