203
210
# commit from here should do nothing
204
211
run_bzr('commit', '.', '-m', 'commit subdir only', '--unchanged')
206
213
eq(v3.get_file_by_path('b/two').read(), 'old contents')
207
214
eq(v3.get_file_by_path('top').read(), 'old contents')
208
215
eq(v3.get_file_by_path('a/one').read(), 'new contents')
210
217
# commit in subdirectory commits whole tree
211
218
run_bzr('commit', '-m', 'commit whole tree from subdir')
213
220
eq(v4.get_file_by_path('b/two').read(), 'new contents')
214
221
eq(v4.get_file_by_path('top').read(), 'new contents')
216
223
# TODO: factor out some kind of assert_tree_state() method