Mercurial > hg
comparison tests/test-context-metadata.t @ 39333:5d343a24bff5
revlogdeltas: always return a delta info object in finddeltainfo
Previously, the method returned `None` when a full snapshot was needed. The
caller had to determine how to produce one itself.
In practice, building a `_deltainfo` object for a full snapshot is simple. So
we build it at the `finddeltainfo` level and always return a `_deltainfo`
object.
The caller can now simply process the `_deltainfo` return in all cases.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 16 Aug 2018 04:38:57 +0200 |
parents | 8327fd79adf8 |
children | b8db53f786f0 |
comparison
equal
deleted
inserted
replaced
39332:6f4b8f607a31 | 39333:5d343a24bff5 |
---|