181
182
# commit from here should do nothing
182
183
run_bzr('commit', '.', '-m', 'commit subdir only', '--unchanged')
184
185
eq(v3.get_file_by_path('b/two').read(), 'old contents')
185
186
eq(v3.get_file_by_path('top').read(), 'old contents')
186
187
eq(v3.get_file_by_path('a/one').read(), 'new contents')
188
189
# commit in subdirectory commits whole tree
189
190
run_bzr('commit', '-m', 'commit whole tree from subdir')
191
192
eq(v4.get_file_by_path('b/two').read(), 'new contents')
192
193
eq(v4.get_file_by_path('top').read(), 'new contents')