/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_branch/test_push.py

  • Committer: Jelmer Vernooij
  • Date: 2018-03-24 17:48:04 UTC
  • mfrom: (6921 work)
  • mto: This revision was merged to the branch mainline in revision 6923.
  • Revision ID: jelmer@jelmer.uk-20180324174804-xf22o05byoj12x1q
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
        # See https://bugs.launchpad.net/bzr/+bug/465517
224
224
        t = self.get_transport('target')
225
225
        t.ensure_base()
226
 
        bzrdir = self.bzrdir_format.initialize_on_transport(t)
 
226
        try:
 
227
            bzrdir = self.bzrdir_format.initialize_on_transport(t)
 
228
        except errors.UninitializableFormat:
 
229
            raise tests.TestNotApplicable('cannot initialize this format')
227
230
        try:
228
231
            bzrdir.open_branch()
229
232
        except errors.NotBranchError:
230
233
            pass
231
234
        else:
232
 
            raise tests.TestNotApplicable('older formats can\'t have a repo'
 
235
            raise tests.TestNotApplicable('some formats can\'t have a repo'
233
236
                                          ' without a branch')
234
237
        try:
235
238
            source = self.make_branch_builder('source',