Mercurial > hg
comparison hgext/purge.py @ 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 | 5a3f8da663e5 |
children | 7fea205fd5dc |
comparison
equal
deleted
inserted
replaced
39332:6f4b8f607a31 | 39333:5d343a24bff5 |
---|