diff -r b0a4de6c14f8 -r ca7bde5dbafb mercurial/setdiscovery.py --- a/mercurial/setdiscovery.py Thu Jul 18 12:03:29 2024 +0200 +++ b/mercurial/setdiscovery.py Thu Jul 18 12:36:12 2024 +0200 @@ -190,7 +190,6 @@ return getparents def _childrengetter(self): - if self._childrenmap is not None: # During discovery, the `undecided` set keep shrinking. # Therefore, the map computed for an iteration N will be @@ -454,7 +453,6 @@ full = not initial_head_exchange progress = ui.makeprogress(_(b'searching'), unit=_(b'queries')) while not disco.iscomplete(): - if full or disco.hasinfo(): if full: ui.note(_(b"sampling from both directions\n"))