D4324: setdiscovery: use revset for resolving DAG heads in a subset
Yuya Nishihara
yuya at tcha.org
Sat Aug 18 03:25:17 EDT 2018
> For reasons I didn't investigate, feeding a set with nullrev
> into the heads() revset resulted in a bunch of tests failing.
> Filtering out nullrev from the input set fixes things.
That's probably because `heads()` internally calls `parents()`, but
`parents()` doesn't handle null in a way `heads()` can exclude p1 of the
root revision.
More information about the Mercurial-devel
mailing list