Mercurial > public > mercurial-scm > hg-stable
diff mercurial/repository.py @ 40496:6a917075535a
storage: also use `deltamode argument` for ifiledata
Now that lower level uses such argument, we can propagate the change to higher
layers.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Tue, 09 Oct 2018 23:26:35 +0200 |
parents | 59a870a4ad6e |
children | 968dd7e02ac5 |
line wrap: on
line diff
--- a/mercurial/repository.py Tue Oct 09 22:02:01 2018 +0200 +++ b/mercurial/repository.py Tue Oct 09 23:26:35 2018 +0200 @@ -618,7 +618,7 @@ nodesorder=None, revisiondata=False, assumehaveparentrevisions=False, - deltaprevious=False): + deltamode=CG_DELTAMODE_STD): """Produce ``irevisiondelta`` for revisions. Given an iterable of nodes, emits objects conforming to the @@ -661,10 +661,10 @@ The ``linknode`` attribute on the returned ``irevisiondelta`` may not be set and it is the caller's responsibility to resolve it, if needed. - If ``deltaprevious`` is True and revision data is requested, all - revision data should be emitted as deltas against the revision - emitted just prior. The initial revision should be a delta against - its 1st parent. + If ``deltamode`` is CG_DELTAMODE_PREV and revision data is requested, + all revision data should be emitted as deltas against the revision + emitted just prior. The initial revision should be a delta against its + 1st parent. """ class ifilemutation(interfaceutil.Interface):