~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_branch.py

(jelmer) Various improvements to allow working tree interface tests to run
 against foreign formats. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
421
421
            return
422
422
        child_transport = repo.bzrdir.root_transport.clone('child')
423
423
        child_transport.mkdir('.')
424
 
        child_dir = self.bzrdir_format.initialize_on_transport(child_transport)
 
424
        try:
 
425
            child_dir = self.bzrdir_format.initialize_on_transport(child_transport)
 
426
        except errors.UninitializableFormat:
 
427
            return
425
428
        try:
426
429
            child_branch = self.branch_format.initialize(child_dir)
427
430
        except errors.UninitializableFormat: