175
175
self.assert_(msg == committed_msg)
177
177
def test_trailing_newlines(self):
181
181
open('a', 'wb').write('hello moto\n')
183
183
wt.commit('simple log message', rev_id='a1'
184
184
, timestamp=1132586655.459960938, timezone=-6*3600
185
185
, committer='Joe Foo <joe@foo.com>')
186
186
open('b', 'wb').write('goodbye\n')
188
188
wt.commit('multiline\nlog\nmessage\n', rev_id='a2'
189
189
, timestamp=1132586842.411175966, timezone=-6*3600
190
190
, committer='Joe Foo <joe@foo.com>')
192
192
open('c', 'wb').write('just another manic monday\n')
194
194
wt.commit('single line with trailing newline\n', rev_id='a3'
195
195
, timestamp=1132587176.835228920, timezone=-6*3600
196
196
, committer = 'Joe Foo <joe@foo.com>')