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

  • Committer: Jelmer Vernooij
  • Date: 2011-05-18 10:24:05 UTC
  • mfrom: (5889 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5903.
  • Revision ID: jelmer@samba.org-20110518102405-isallt5uet1afh4f
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
        repo.lock_write()
138
138
        self.addCleanup(repo.unlock)
139
139
        repo.fetch(source.repository)
 
140
        graph = repo.get_file_graph()
140
141
        self.assertEqual(result,
141
 
            repo.texts.get_parent_map([(root_id, 'tip')])[(root_id, 'tip')])
 
142
            graph.get_parent_map([(root_id, 'tip')])[(root_id, 'tip')])
142
143
 
143
144
    def test_fetch_to_rich_root_set_parent_no_parents(self):
144
145
        # No parents rev -> No parents