Mercurial > public > mercurial-scm > hg-stable
diff mercurial/filelog.py @ 39998:2f80eaf38ed4
filelog: remove revdiff() (API)
This proxy method is no longer used.
While it might be useful to query a storage backend for the delta
between any 2 revisions because the store could have a delta cached
and could compute it more efficiently than the caller calling
revision() twice in order to compute a delta, since nothing in core
is using this API now, I feel comfortable nuking it.
Differential Revision: https://phab.mercurial-scm.org/D4792
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 28 Sep 2018 09:28:38 -0700 |
parents | 1b65fb4d43d6 |
children | 44c98cbc665f |
line wrap: on
line diff
--- a/mercurial/filelog.py Fri Sep 28 09:46:50 2018 -0700 +++ b/mercurial/filelog.py Fri Sep 28 09:28:38 2018 -0700 @@ -78,9 +78,6 @@ def revision(self, node, _df=None, raw=False): return self._revlog.revision(node, _df=_df, raw=raw) - def revdiff(self, rev1, rev2): - return self._revlog.revdiff(rev1, rev2) - def emitrevisions(self, nodes, nodesorder=None, revisiondata=False, assumehaveparentrevisions=False, deltaprevious=False):