/breezy-hg/trunk

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

« back to all changes in this revision

Viewing changes to tests/test_pull.py

  • Committer: Jelmer Vernooij
  • Date: 2018-09-29 08:12:07 UTC
  • Revision ID: jelmer@jelmer.uk-20180929081207-ol8c5exqqakpu1l3
Fix a bunch of tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
        self.revthree_inventory = copy.deepcopy(self.revtwo_inventory)
83
83
        tip = self.tree.last_revision()
84
84
        # should be a new file revision with exec reset
85
 
        entry = self.revthree_inventory['hg:b']
 
85
        entry = self.revthree_inventory.get_entry('hg:b')
86
86
        entry.revision = tip
87
87
        entry.executable = False
88
88
        self.revidthree = tip
93
93
        self.tree.commit('change dir/c')
94
94
        self.revfour_inventory = copy.deepcopy(self.revthree_inventory)
95
95
        tip = self.tree.last_revision()
96
 
        entry = self.revfour_inventory['hg:dir_sc']
 
96
        entry = self.revfour_inventory.get_entry('hg:dir_sc')
97
97
        entry.revision = tip
98
98
        entry.text_size = len('new contents')
99
99
        entry.text_sha1 = "7ffa72b76d5d66da37f4b614b7a822c01f23c183"