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

  • Committer: Martin
  • Date: 2018-11-16 19:09:31 UTC
  • mfrom: (7175 work)
  • mto: This revision was merged to the branch mainline in revision 7177.
  • Revision ID: gzlist@googlemail.com-20181116190931-rmh7pk2an1zuecby
Merge trunk to resolve conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
        tree = MemoryTree.create_on_branch(branch)
110
110
        tree.lock_write()
111
111
        tree.add(['', 'foo'], ids=[b'root-id', b'foo-id'],
112
 
                  kinds=['directory', 'file'])
 
112
                 kinds=['directory', 'file'])
113
113
        tree.put_file_bytes_non_atomic('foo', b'barshoom')
114
114
        self.assertEqual(b'barshoom', tree.get_file('foo').read())
115
115
        tree.unlock()