/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/per_repository/test_fetch.py

  • Committer: Jelmer Vernooij
  • Date: 2017-11-19 18:35:20 UTC
  • mfrom: (6809.4.27 swap-arguments)
  • Revision ID: jelmer@jelmer.uk-20171119183520-fmw89uw30e0tbhwz
Merge lp:~jelmer/brz/swap-arguments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
        rev1_tree = knit3_repo.revision_tree(rev1)
88
88
        rev1_tree.lock_read()
89
89
        try:
90
 
            lines = rev1_tree.get_file_lines(rev1_tree.get_root_id())
 
90
            lines = rev1_tree.get_file_lines(u'', rev1_tree.get_root_id())
91
91
        finally:
92
92
            rev1_tree.unlock()
93
93
        self.assertEqual([], lines)
105
105
        rev2_tree = knit3_repo.revision_tree(rev2)
106
106
        self.assertEqual(
107
107
            rev1,
108
 
            rev2_tree.get_file_revision(rev2_tree.get_root_id()))
 
108
            rev2_tree.get_file_revision(u'', rev2_tree.get_root_id()))
109
109
 
110
110
    def do_test_fetch_to_rich_root_sets_parents_correctly(self, result,
111
111
        snapshots, root_id=ROOT_ID, allow_lefthand_ghost=False):