176
176
'Pushed up to revision id git(.*).\n')
178
def test_merge(self):
179
self.run_bzr(['init', '--git', 'orig'])
180
self.build_tree_contents([('orig/a', 'orig contents\n')])
181
self.run_bzr(['add', 'orig/a'])
182
self.run_bzr(['commit', '-m', 'add orig', 'orig'])
183
self.run_bzr(['clone', 'orig', 'other'])
184
self.build_tree_contents([('other/a', 'new contents\n')])
185
self.run_bzr(['commit', '-m', 'modify', 'other'])
186
self.build_tree_contents([('orig/b', 'more\n')])
187
self.run_bzr(['add', 'orig/b'])
188
self.build_tree_contents([('orig/a', 'new contents\n')])
189
self.run_bzr(['commit', '-m', 'more', 'orig'])
190
self.run_bzr(['merge', '-d', 'orig', 'other'])
178
192
def test_push_lossy_non_mainline(self):
179
193
self.run_bzr(['init', '--git', 'bla'])
180
194
self.run_bzr(['init', 'foo'])