equal
deleted
inserted
replaced
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 |