156
154
self.assertEqual(get_text_by_path(new, 'a/one'), 'new contents')
160
157
# commit from here should do nothing
161
self.run_bzr(['commit', '.', '-m', 'commit subdir only', '--unchanged'])
158
self.run_bzr(['commit', '.', '-m', 'commit subdir only', '--unchanged'],
162
160
v3 = b.repository.revision_tree(b.get_rev_id(3))
164
162
self.assertEqual(get_text_by_path(v3, 'b/two'), 'old contents')