delta-find: small documentation update
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 06 Nov 2022 12:53:03 -0500
changeset 49614 5447c1507c86
parent 49613 e706bb41fdb3
child 49615 01ccb45b7393
delta-find: small documentation update This is not a 1-1 mapping, but a 1-n mapping. Lets make the associated comment clearer.
mercurial/revlogutils/deltas.py
--- a/mercurial/revlogutils/deltas.py	Sun Nov 06 12:51:50 2022 -0500
+++ b/mercurial/revlogutils/deltas.py	Sun Nov 06 12:53:03 2022 -0500
@@ -878,7 +878,7 @@
 
     if sparse and parents:
         if snapshots is None:
-            # map: base-rev: snapshot-rev
+            # map: base-rev: [snapshot-revs]
             snapshots = collections.defaultdict(list)
         # See if we can use an existing snapshot in the parent chains to use as
         # a base for a new intermediate-snapshot