Mercurial > hg
comparison mercurial/revlog.py @ 42007:b5511845f9d5
branchcache: have a hasnode function to validate nodes
Upcoming patches will delay node validation until it's required. So we need to a
way in branchcache class to check whether a node exists or node.
Other options were making repo or changelog an attribute of branchcache object.
But the branchcache depends on filters so I decided to pass a function object.
Differential Revision: https://phab.mercurial-scm.org/D6157
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Tue, 19 Mar 2019 16:26:52 +0300 |
parents | 3f3f962457b2 |
children | 1fac9b931d46 |
comparison
equal
deleted
inserted
replaced
42006:111de135fc76 | 42007:b5511845f9d5 |
---|