comparison mercurial/graphmod.py @ 24180:d8e0c591781c

spelling: fixes from proofreading of spell checker issues
author Mads Kiilerich <madski@unity3d.com>
date Sun, 18 Jan 2015 02:38:57 +0100
parents 3f86fe9bcef0
children 69751804f2f5
comparison
equal deleted inserted replaced
24179:14d647d25c70 24180:d8e0c591781c
120 # Heap works with smallest element, we want highest so we invert 120 # Heap works with smallest element, we want highest so we invert
121 if currentrev not in pendingset: 121 if currentrev not in pendingset:
122 heappush(pendingheap, -currentrev) 122 heappush(pendingheap, -currentrev)
123 pendingset.add(currentrev) 123 pendingset.add(currentrev)
124 # iterates on pending rev until after the current rev have been 124 # iterates on pending rev until after the current rev have been
125 # processeed. 125 # processed.
126 rev = None 126 rev = None
127 while rev != currentrev: 127 while rev != currentrev:
128 rev = -heappop(pendingheap) 128 rev = -heappop(pendingheap)
129 pendingset.remove(rev) 129 pendingset.remove(rev)
130 130