# HG changeset patch # User Pierre-Yves David # Date 2022-11-06 17:53:03 # Node ID 5447c1507c862b8d52d8bb7ccd79b1c570392394 # Parent e706bb41fdb32a9fbc3e9deed73aa0621fa6001a delta-find: small documentation update This is not a 1-1 mapping, but a 1-n mapping. Lets make the associated comment clearer. diff --git a/mercurial/revlogutils/deltas.py b/mercurial/revlogutils/deltas.py --- a/mercurial/revlogutils/deltas.py +++ b/mercurial/revlogutils/deltas.py @@ -878,7 +878,7 @@ def _rawgroups(revlog, p1, p2, cachedelt 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