comparison mercurial/revlog.py @ 17483:fe3b26048140

spelling: descendants
author timeless@mozdev.org
date Fri, 17 Aug 2012 13:58:18 -0700
parents 3ac9592b7ab4
children 31f32a96e1e3
comparison
equal deleted inserted replaced
17482:3afb61810680 17483:fe3b26048140
545 # 'real' roots (i.e. are descended from other roots). 545 # 'real' roots (i.e. are descended from other roots).
546 roots = descendants.copy() 546 roots = descendants.copy()
547 # Our topologically sorted list of output nodes. 547 # Our topologically sorted list of output nodes.
548 orderedout = [] 548 orderedout = []
549 # Don't start at nullid since we don't want nullid in our output list, 549 # Don't start at nullid since we don't want nullid in our output list,
550 # and if nullid shows up in descedents, empty parents will look like 550 # and if nullid shows up in descendants, empty parents will look like
551 # they're descendants. 551 # they're descendants.
552 for r in xrange(max(lowestrev, 0), highestrev + 1): 552 for r in xrange(max(lowestrev, 0), highestrev + 1):
553 n = self.node(r) 553 n = self.node(r)
554 isdescendant = False 554 isdescendant = False
555 if lowestrev == nullrev: # Everybody is a descendant of nullid 555 if lowestrev == nullrev: # Everybody is a descendant of nullid