narrow: delete a stale TODO about not sending groups the client already has
authorMartin von Zweigbergk <martinvonz@google.com>
Wed, 27 Jan 2021 22:10:57 -0800
changeset 46409 29e3e46b0a22
parent 46408 e948ad0dcbe2
child 46410 892eb7c5edaa
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
mercurial/bundle2.py
--- 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,