~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/btree_index.py

  • Committer: John Arbash Meinel
  • Date: 2008-08-25 03:43:42 UTC
  • mto: This revision was merged to the branch mainline in revision 3688.
  • Revision ID: john@arbash-meinel.com-20080825034342-owq0858uk1wp2q0l
the new btree index doesn't have 'absent' keys in its _nodes

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
            for reference in reference_list:
170
170
                self._check_key(reference)
171
171
            node_refs.append(tuple(reference_list))
172
 
        if key in self._nodes and self._nodes[key][0] == '':
 
172
        if key in self._nodes:
173
173
            raise errors.BadIndexDuplicateKey(key, self)
174
174
        self._nodes[key] = (tuple(node_refs), value)
175
175
        self._keys.add(key)