diff .hgsigs @ 39180:8de526995844

dagutil: use revlog.parentrevs() for resolving parent revisions And remove parents() since it is no longer used. revlog.parentrevs() is almost the same as parents(). The main difference is that parentrevs() can return nullrev. dagop.headrevs() already handles nullrev. We add an inline check for nullrev in the other call site to account for the difference. .. api:: parents() removed from dagutil classes Use parentrevs() on the storage object instead. Differential Revision: https://phab.mercurial-scm.org/D4328
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 17 Aug 2018 19:48:52 +0000
parents cc8657f6fd3e
children e574cae381b6
line wrap: on
line diff