~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_annotator_pyx.pyx

  • Committer: John Arbash Meinel
  • Date: 2009-07-06 20:21:34 UTC
  • mto: This revision was merged to the branch mainline in revision 4522.
  • Revision ID: john@arbash-meinel.com-20090706202134-19iakgxrs3yxi7k7
Tests that VF implementations support .get_annotator()
This also meant supporting no-graph style VF implementations, which
wasn't too bad.

Show diffs side-by-side

added added

removed removed

Lines of Context:
289
289
            needed_keys = set()
290
290
            next_parent_map.update(self._vf.get_parent_map(parent_lookup))
291
291
            for key, parent_keys in next_parent_map.iteritems():
 
292
                if parent_keys is None:
 
293
                    parent_keys = ()
 
294
                    next_parent_map[key] = ()
292
295
                self._update_needed_children(key, parent_keys)
293
296
                for key in parent_keys:
294
297
                    if key not in parent_map: