/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_branch/test_commit.py

  • Committer: Jelmer Vernooij
  • Date: 2017-11-19 18:35:20 UTC
  • mfrom: (6809.4.27 swap-arguments)
  • Revision ID: jelmer@jelmer.uk-20171119183520-fmw89uw30e0tbhwz
Merge lp:~jelmer/brz/swap-arguments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
            # setting up a playground
188
188
            tree.add('rootfile')
189
189
            rootfile_id = tree.path2id('rootfile')
190
 
            tree.put_file_bytes_non_atomic(rootfile_id, 'abc')
 
190
            tree.put_file_bytes_non_atomic('rootfile', 'abc')
191
191
            tree.add('dir')
192
192
            dir_id = tree.path2id('dir')
193
193
            tree.add('dir/subfile')
202
202
        tree.lock_write()
203
203
        try:
204
204
            # making changes
205
 
            tree.put_file_bytes_non_atomic(rootfile_id, 'jkl')
 
205
            tree.put_file_bytes_non_atomic('rootfile', 'jkl')
206
206
            tree.rename_one('dir/subfile', 'dir/subfile_renamed')
207
 
            tree.unversion([to_be_unversioned_id])
 
207
            tree.unversion(['to_be_unversioned'])
208
208
            tree.mkdir('added_dir')
209
209
            added_dir_id = tree.path2id('added_dir')
210
210
            # start to capture pre_commit delta