/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/tests/test_log.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-29 19:50:18 UTC
  • mto: This revision was merged to the branch mainline in revision 7389.
  • Revision ID: jelmer@jelmer.uk-20190629195018-jaldh0dliq1e79oh
TreeDelta holds TreeChange objects rather than tuples of various sizes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
            # By default we expect an empty list
159
159
            expected = kw.get(n, [])
160
160
            # strip out only the path components
161
 
            got = [x[0] for x in getattr(delta, n)]
 
161
            got = [x.path[1] or x.path[0] for x in getattr(delta, n)]
162
162
            self.assertEqual(expected, got)
163
163
 
164
164
    def assertInvalidRevisonNumber(self, br, start, end):