author | Boris Feld <boris.feld@octobus.net> |
Sat, 18 Aug 2018 10:24:16 +0200 | |
branch | stable |
changeset 39199 | d8ac2ad55d9c |
parent 39198 | 362cb82385ea |
child 39200 | bd63ada7e1f8 |
--- a/mercurial/phases.py Mon Aug 20 16:33:48 2018 -0400 +++ b/mercurial/phases.py Sat Aug 18 10:24:16 2018 +0200 @@ -673,7 +673,7 @@ rev = cl.nodemap.get if not roots: return heads - if not heads or heads == [nullrev]: + if not heads or heads == [nullid]: return [] # The logic operated on revisions, convert arguments early for convenience new_heads = set(rev(n) for n in heads if n != nullid)