102
102
# commit from here should do nothing
103
run_bzr('commit', '.', '-m', 'commit subdir again', '--unchanged')
103
run_bzr('commit', '.', '-m', 'commit subdir only', '--unchanged')
104
104
v3 = b.revision_tree(b.lookup_revision(3))
105
105
eq(v3.get_file_by_path('b/two').read(), 'old contents')
106
106
eq(v3.get_file_by_path('top').read(), 'old contents')
107
107
eq(v3.get_file_by_path('a/one').read(), 'new contents')
109
109
# commit in subdirectory commits whole tree
111
111
v4 = b.revision_tree(b.lookup_revision(4))
112
112
eq(v4.get_file_by_path('b/two').read(), 'new contents')
113
113
eq(v4.get_file_by_path('top').read(), 'new contents')