57
57
self.run_bzr('branch a b')
59
59
file('goodbye', 'wt').write('quux')
60
self.run_bzr_captured(['commit', '-m', "more u's are always good"])
60
self.run_bzr(['commit', '-m', "more u's are always good"])
63
63
file('hello', 'wt').write('quuux')
106
106
print >> file('sub/c.txt', 'wb'), "hello"
107
107
self.run_bzr('init')
108
108
self.run_bzr('add')
109
self.run_bzr_captured(['commit', '-m', 'added a'])
109
self.run_bzr(['commit', '-m', 'added a'])
110
110
self.run_bzr('branch . ../b')
111
111
print >> file('sub/a.txt', 'ab'), "there"
112
112
print >> file('b.txt', 'ab'), "there"
113
113
print >> file('sub/c.txt', 'ab'), "there"
114
self.run_bzr_captured(['commit', '-m', 'Added there'])
114
self.run_bzr(['commit', '-m', 'Added there'])
115
115
os.unlink('sub/a.txt')
116
116
os.unlink('sub/c.txt')
118
118
os.unlink('b.txt')
119
self.run_bzr_captured(['commit', '-m', 'Removed a.txt'])
119
self.run_bzr(['commit', '-m', 'Removed a.txt'])
121
121
print >> file('sub/a.txt', 'ab'), "something"
122
122
print >> file('b.txt', 'ab'), "something"
123
123
print >> file('sub/c.txt', 'ab'), "something"
124
self.run_bzr_captured(['commit', '-m', 'Modified a.txt'])
124
self.run_bzr(['commit', '-m', 'Modified a.txt'])
125
125
self.run_bzr('merge ../a/', retcode=1)
126
126
self.assert_(os.path.exists('sub/a.txt.THIS'))
127
127
self.assert_(os.path.exists('sub/a.txt.BASE'))
249
249
self.run_bzr('branch a b')
251
251
file('goodbye', 'wt').write('quux')
252
self.run_bzr_captured(['commit', '-m', "mode u's are always good"])
252
self.run_bzr(['commit', '-m', "mode u's are always good"])
255
255
def pullable_branch(self):