~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_interbranch/test_fetch.py

  • Committer: Jelmer Vernooij
  • Date: 2011-05-20 08:25:15 UTC
  • mto: This revision was merged to the branch mainline in revision 5903.
  • Revision ID: jelmer@samba.org-20110520082515-lb5zok499a6q3g7g
Review feedback from Andrew: use NotImplementedError instead of UnsupportedOperation, use simpler build_commit rather than build_snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        builder = self.make_branch_builder('b1',
50
50
            format=self.branch_format_from._matchingbzrdir)
51
51
        builder.start_series()
52
 
        builder.build_snapshot('revision-1', None, [
53
 
            ('add', ('', None, 'directory', None)),
54
 
            ('add', ('foo', 'foo-id', 'file', 'hello'))])
55
 
        builder.build_snapshot('revision-2', None, [])
56
 
        builder.build_snapshot('revision-3', None, [])
 
52
        builder.build_commit(rev_id='revision-1')
 
53
        builder.build_commit(rev_id='revision-2')
 
54
        builder.build_commit(rev_id='revision-3')
57
55
        builder.finish_series()
58
56
        b1 = builder.get_branch()
59
57
        b2 = self.make_to_branch('b2')