mercurial/phases.py
changeset 43556 505a2bc53759
parent 43539 44f54b8f9f10
child 43730 d18cf63e1dbd
equal deleted inserted replaced
43555:ded3d545b6f0 43556:505a2bc53759
   731     # phases > dagop > patch > copies > scmutil > obsolete > obsutil > phases
   731     # phases > dagop > patch > copies > scmutil > obsolete > obsutil > phases
   732     from . import dagop
   732     from . import dagop
   733 
   733 
   734     repo = repo.unfiltered()
   734     repo = repo.unfiltered()
   735     cl = repo.changelog
   735     cl = repo.changelog
   736     rev = cl.nodemap.get
   736     rev = cl.index.get_rev
   737     if not roots:
   737     if not roots:
   738         return heads
   738         return heads
   739     if not heads or heads == [nullid]:
   739     if not heads or heads == [nullid]:
   740         return []
   740         return []
   741     # The logic operated on revisions, convert arguments early for convenience
   741     # The logic operated on revisions, convert arguments early for convenience