/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: John Arbash Meinel
  • Date: 2008-05-29 20:17:37 UTC
  • mto: This revision was merged to the branch mainline in revision 3460.
  • Revision ID: john@arbash-meinel.com-20080529201737-4y4md0w6u6cuvrpo
Clarity tweaks recommended by Ian

Show diffs side-by-side

added added

removed removed

Lines of Context:
241
241
            to_search.update(searching_known_tips)
242
242
            parent_map = self.get_parent_map(to_search)
243
243
            parents = parent_map.get(cur_tip, None)
244
 
            if not parents: # An empty list, or None is still a ghost
 
244
            if not parents: # An empty list or None is a ghost
245
245
                raise errors.GhostRevisionsHaveNoRevno(target_revision_id,
246
246
                                                       cur_tip)
247
247
            cur_tip = parents[0]
256
256
                    # We have enough information to return a value right now
257
257
                    return next_revno + unknown_searched[next]
258
258
                if next in known_revnos:
259
 
                    assert known_revnos[next] == next_revno
260
259
                    continue
261
260
                known_revnos[next] = next_revno
262
261
                next_known_tips.append(next)