~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_commit_merge.py

  • Committer: Aaron Bentley
  • Date: 2005-12-25 00:38:48 UTC
  • mto: (1185.67.11 bzr.revision-storage)
  • mto: This revision was merged to the branch mainline in revision 1550.
  • Revision ID: aaron.bentley@utoronto.ca-20051225003848-111ac71170cb2605
Renamed Branch.storage to Branch.repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        self.assertEquals(by.revno(), 2)
59
59
        self.assertEquals(list(by.revision_history()),
60
60
                          ['y@u-0-1', 'y@u-0-2'])
61
 
        rev = by.storage.get_revision('y@u-0-2')
 
61
        rev = by.repository.get_revision('y@u-0-2')
62
62
        self.assertEquals(rev.parent_ids,
63
63
                          ['y@u-0-1', 'x@u-0-1'])
64
64
 
89
89
                          specific_files=['ecks'])
90
90
        
91
91
        commit(by, 'merge from x', rev_id='y@u-0-2', allow_pointless=False)
92
 
        tree = by.storage.revision_tree('y@u-0-2')
 
92
        tree = by.repository.revision_tree('y@u-0-2')
93
93
        inv = tree.inventory
94
94
        self.assertEquals(inv['ecks-id'].revision, 'x@u-0-1')
95
95
        self.assertEquals(inv['why-id'].revision, 'y@u-0-1')