branch | stable |
changeset 38777 | d8ac2ad55d9c |
parent 38773 | f736fdbe546a |
child 38778 | 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)