/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/git/tests/test_builder.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 00:16:27 UTC
  • mfrom: (7293 work)
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190304001627-v6u7o6pf97tukhek
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
 
116
116
        builder.set_file(u'f\xb5/bar', b'contents\nbar\n', False)
117
117
        self.assertEqual(b'2', builder.commit(b'Joe Foo <joe@foo.com>',
118
 
                                           u'committing f\xb5/bar',
119
 
                                           timestamp=1194586400,
120
 
                                           timezone=b'+0100'))
 
118
                                              u'committing f\xb5/bar',
 
119
                                              timestamp=1194586400,
 
120
                                              timezone=b'+0100'))
121
121
        self.assertEqualDiff(b'blob\nmark :1\ndata 13\ncontents\nbar\n\n'
122
122
                             b'commit refs/heads/master\n'
123
123
                             b'mark :2\n'
257
257
        mapping = builder.finish()
258
258
        self.assertEqual({b'1': b'44411e8e9202177dd19b6599d7a7991059fa3cb4',
259
259
                          b'2': b'b0b62e674f67306fddcf72fa888c3b56df100d64',
260
 
                         }, mapping)
 
260
                          }, mapping)