diff mercurial/repair.py @ 40000:8af835af0a85

dagop: extract DAG local heads functionality from revlog As part of implementing an alternate storage backend, I found myself having to reimplement this function. The DAG traversal logic is generic and can be factored out into a standalone function. We could probably combine this with headrevs(). But I'll leave that for another time. Differential Revision: https://phab.mercurial-scm.org/D4795
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 28 Sep 2018 10:20:37 -0700
parents b2ec79559a4b
children 8ecb17b7f432
line wrap: on
line diff