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

  • Committer: Jelmer Vernooij
  • Date: 2019-06-15 22:53:27 UTC
  • mfrom: (7337 work)
  • mto: This revision was merged to the branch mainline in revision 7347.
  • Revision ID: jelmer@jelmer.uk-20190615225327-g77kw1v105svs31i
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    revision as _mod_revision,
27
27
    tests,
28
28
    )
 
29
from breezy.tree import TreeChange
29
30
from breezy.bzr import (
30
31
    inventorytree,
31
32
    )
193
194
        with tree.lock_write():
194
195
            builder = tree.branch.get_commit_builder([rev_id])
195
196
            try:
196
 
                delete_change = (foo_id, ('foo', None), True, (True, False),
197
 
                                 (tree.path2id(''), None), ('foo',
198
 
                                                            None), ('file', None),
199
 
                                 (False, None))
 
197
                delete_change = TreeChange(
 
198
                    foo_id, ('foo', None), True, (True, False),
 
199
                    (tree.path2id(''), None),
 
200
                    ('foo', None), ('file', None),
 
201
                    (False, None))
200
202
                list(builder.record_iter_changes(tree, rev_id,
201
203
                                                 [delete_change]))
202
204
                self.assertEqual(("foo", None, foo_id, None),