/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/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-11-30 22:04:45 UTC
  • mfrom: (4789.28.4 2.1.0b4-builder-no-keys)
  • Revision ID: pqm@pqm.ubuntu.com-20091130220445-vbfmmgocbgcs195q
(jam) Update BTreeBuilder to remove ._keys and use StaticTuple

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    reconfigure,
44
44
    rename_map,
45
45
    revision as _mod_revision,
 
46
    static_tuple,
46
47
    symbol_versioning,
47
48
    timestamp,
48
49
    transport,
436
437
        for node in bt.iter_all_entries():
437
438
            # Node is made up of:
438
439
            # (index, key, value, [references])
439
 
            refs_as_tuples = tuple([tuple([tuple(ref) for ref in ref_list])
440
 
                                   for ref_list in node[3]])
 
440
            refs_as_tuples = static_tuple.as_tuples(node[3])
441
441
            as_tuple = (tuple(node[1]), node[2], refs_as_tuples)
442
442
            self.outf.write('%s\n' % (as_tuple,))
443
443