/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/tests/repository_implementations/test_commit_builder.py

  • Committer: Jelmer Vernooij
  • Date: 2008-09-01 14:03:34 UTC
  • mto: (3680.1.1 bzr.dev)
  • mto: This revision was merged to the branch mainline in revision 3689.
  • Revision ID: jelmer@samba.org-20080901140334-iph5u142g49dv3zu
Use NULL_REVISION rather than None for Repository.revision_tree().

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    inventory,
27
27
    osutils,
28
28
    repository,
 
29
    revision as _mod_revision,
29
30
    tests,
30
31
    )
31
32
from bzrlib.graph import Graph
51
52
                ie = tree.inventory.root
52
53
            finally:
53
54
                tree.unlock()
54
 
            parent_tree = tree.branch.repository.revision_tree(None)
 
55
            parent_tree = tree.branch.repository.revision_tree(
 
56
                              _mod_revision.NULL_REVISION)
55
57
            parent_invs = []
56
58
            builder.record_entry_contents(ie, parent_invs, '', tree,
57
59
                tree.path_content_summary(''))