/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_log.py

  • Committer: Jelmer Vernooij
  • Date: 2017-11-16 00:39:04 UTC
  • mto: This revision was merged to the branch mainline in revision 6818.
  • Revision ID: jelmer@jelmer.uk-20171116003904-p6lcb827m6thxbzd
Migrate some build_snapshot code over to having revision_id as keyword argument.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1589
1589
        # | /
1590
1590
        # 3
1591
1591
        builder.start_series()
1592
 
        builder.build_snapshot('1', None, [
1593
 
            ('add', ('', 'TREE_ROOT', 'directory', '')),])
1594
 
        builder.build_snapshot('1.1.1', ['1'], [])
1595
 
        builder.build_snapshot('2', ['1'], [])
1596
 
        builder.build_snapshot('1.2.1', ['1.1.1'], [])
1597
 
        builder.build_snapshot('1.1.2', ['1.1.1', '1.2.1'], [])
1598
 
        builder.build_snapshot('3', ['2', '1.1.2'], [])
 
1592
        builder.build_snapshot(None, [
 
1593
            ('add', ('', 'TREE_ROOT', 'directory', '')),],
 
1594
            revision_id='1')
 
1595
        builder.build_snapshot(['1'], [], revision_id='1.1.1')
 
1596
        builder.build_snapshot(['1'], [], revision_id='2')
 
1597
        builder.build_snapshot(['1.1.1'], [], revision_id='1.2.1')
 
1598
        builder.build_snapshot(['1.1.1', '1.2.1'], [], revision_id='1.1.2')
 
1599
        builder.build_snapshot(['2', '1.1.2'], [], revision_id='3')
1599
1600
        builder.finish_series()
1600
1601
        br = builder.get_branch()
1601
1602
        br.lock_read()