/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/per_interbranch/test_fetch.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 00:16:27 UTC
  • mfrom: (7293 work)
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190304001627-v6u7o6pf97tukhek
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    def test_fetch_revisions_limit(self):
55
55
        """Test fetch-revision operation."""
56
56
        builder = self.make_branch_builder('b1',
57
 
            format=self.branch_format_from._matchingcontroldir)
 
57
                                           format=self.branch_format_from._matchingcontroldir)
58
58
        builder.start_series()
59
59
        rev1 = builder.build_commit()
60
60
        rev2 = builder.build_commit()
65
65
        try:
66
66
            b2.fetch(b1, limit=1)
67
67
        except FetchLimitUnsupported:
68
 
            raise TestNotApplicable('interbranch does not support fetch limits')
 
68
            raise TestNotApplicable(
 
69
                'interbranch does not support fetch limits')
69
70
        except NoRoundtrippingSupport:
70
71
            raise TestNotApplicable(
71
72
                'lossless cross-vcs fetch %r to %r not supported' %
89
90
        try:
90
91
            b2.fetch(b1, limit=1)
91
92
        except FetchLimitUnsupported:
92
 
            raise TestNotApplicable('interbranch does not support fetch limits')
 
93
            raise TestNotApplicable(
 
94
                'interbranch does not support fetch limits')
93
95
        except NoRoundtrippingSupport:
94
96
            raise TestNotApplicable(
95
97
                'lossless cross-vcs fetch %r to %r not supported' %