/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/blackbox/test_shelve.py

  • Committer: Jelmer Vernooij
  • Date: 2018-02-18 15:21:06 UTC
  • mto: This revision was merged to the branch mainline in revision 6928.
  • Revision ID: jelmer@jelmer.uk-20180218152106-m8bmfurzlspweyu4
Yet more bees.

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
    def test_directory(self):
146
146
        """Test --directory option"""
147
147
        tree = self.make_branch_and_tree('tree')
148
 
        self.build_tree_contents([('tree/a', 'initial\n')])
 
148
        self.build_tree_contents([('tree/a', b'initial\n')])
149
149
        tree.add('a')
150
150
        tree.commit(message='committed')
151
 
        self.build_tree_contents([('tree/a', 'initial\nmore\n')])
 
151
        self.build_tree_contents([('tree/a', b'initial\nmore\n')])
152
152
        self.run_bzr('shelve -d tree --all')
153
153
        self.assertFileEqual('initial\n', 'tree/a')
154
154
        self.run_bzr('unshelve --directory tree')