# HG changeset patch # User Pierre-Yves David # Date 1667757183 18000 # 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 -r e706bb41fdb3 -r 5447c1507c86 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