Mercurial > hg
changeset 49613:5447c1507c86
delta-find: small documentation update
This is not a 1-1 mapping, but a 1-n mapping. Lets make the associated comment clearer.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 06 Nov 2022 12:53:03 -0500 |
parents | e706bb41fdb3 |
children | 01ccb45b7393 |
files | mercurial/revlogutils/deltas.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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