/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-09-21 16:35:59 UTC
  • mfrom: (7358.11.10 delta-no-file-ids)
  • Revision ID: breezy.the.bot@gmail.com-20190921163559-inw7zv0fg2j35h68
TreeDelta holds TreeChange objects rather than tuples of various sizes.

Merged from https://code.launchpad.net/~jelmer/brz/delta-no-file-ids/+merge/369480

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):