/breezy-svn/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy-svn/trunk

« back to all changes in this revision

Viewing changes to tests/test_fetch.py

  • Committer: Jelmer Vernooij
  • Date: 2020-01-31 19:40:01 UTC
  • Revision ID: jelmer@jelmer.uk-20200131194001-ri4z8wyq0cvymo20
More python3/breezy compat fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
478
478
        last_rev = oldrepos.generate_revision_id(3, u"branch2",
479
479
            oldrepos.get_mapping())
480
480
        self.fetch(oldrepos, repo, last_rev)
481
 
        self.assertEquals(repo.revision_tree(last_rev).get_root_id(),
 
481
        self.assertEquals(repo.revision_tree(last_rev).path2id(''),
482
482
            oldrepos.get_mapping().generate_file_id(
483
483
                (oldrepos.uuid, "branch1", 1), u""))
484
484
 
485
 
 
486
485
    def test_fetch_replace(self):
487
486
        repos_url = self.make_svn_repository('d')
488
487
 
1620
1619
 
1621
1620
        self.assertEqual(
1622
1621
            mapping.generate_file_id((repos.uuid, "trunk", 1), u""),
1623
 
            tree.get_root_id())
 
1622
            tree.path2id(''))
1624
1623
 
1625
1624
    def test_fetch_odd(self):
1626
1625
        repos_url = self.make_svn_repository('d')