hgext/rebase.py
branchstable
changeset 38183 69d1cafe75f2
parent 37787 92213f6745ed
child 38239 ead71b15efd5
equal deleted inserted replaced
38182:79c54e7c0c52 38183:69d1cafe75f2
  1813                     break
  1813                     break
  1814             else:
  1814             else:
  1815                 # If 'srcrev' has a successor in rebase set but none in
  1815                 # If 'srcrev' has a successor in rebase set but none in
  1816                 # destination (which would be catched above), we shall skip it
  1816                 # destination (which would be catched above), we shall skip it
  1817                 # and its descendants to avoid divergence.
  1817                 # and its descendants to avoid divergence.
  1818                 if any(nodemap[s] in destmap for s in successors):
  1818                 if any(nodemap[s] in destmap for s in successors
       
  1819                        if s in nodemap):
  1819                     obsoletewithoutsuccessorindestination.add(srcrev)
  1820                     obsoletewithoutsuccessorindestination.add(srcrev)
  1820 
  1821 
  1821     return (
  1822     return (
  1822         obsoletenotrebased,
  1823         obsoletenotrebased,
  1823         obsoletewithoutsuccessorindestination,
  1824         obsoletewithoutsuccessorindestination,