changeset 46409:29e3e46b0a22

narrow: delete a stale TODO about not sending groups the client already has 2c5835b4246b changed the changegroup generation to not send treemanifests for directories the client had before widening. As that commit mentions, we had already stopped before that commit to send the changelog and filelogs for files the client already had. Differential Revision: https://phab.mercurial-scm.org/D9898
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 27 Jan 2021 22:10:57 -0800
parents e948ad0dcbe2
children 892eb7c5edaa
files mercurial/bundle2.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/bundle2.py	Sat Jan 16 00:03:18 2021 +0100
+++ b/mercurial/bundle2.py	Wed Jan 27 22:10:57 2021 -0800
@@ -2536,8 +2536,6 @@
     for r in repo.revs(b"::%ln", common):
         commonnodes.add(cl.node(r))
     if commonnodes:
-        # XXX: we should only send the filelogs (and treemanifest). user
-        # already has the changelog and manifest
         packer = changegroup.getbundler(
             cgversion,
             repo,