/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_commit.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:
669
669
        local_dir.open_branch().bind(master_branch)
670
670
        wt = local_dir.open_workingtree()
671
671
        self.build_tree({'b/file': 'data'})
672
 
        rootid = wt.get_root_id()
 
672
        rootid = wt.path2id('')
673
673
        wt.branch.nick = "some-nick"
674
674
        wt.add('file')
675
675
        oldid = wt.path2id("file")
703
703
        self.build_tree({'b/dir/file': 'data'})
704
704
        wt.add('dir')
705
705
        wt.add('dir/file')
706
 
        rootid = wt.get_root_id()
 
706
        rootid = wt.path2id('')
707
707
        dirid = wt.path2id("dir")
708
708
        fileid = wt.path2id("dir/file")
709
709
        revid1 = wt.commit(message="Commit from Bzr") #2