/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_controldir/test_controldir.py

  • Committer: Jelmer Vernooij
  • Date: 2017-07-23 17:17:18 UTC
  • mto: This revision was merged to the branch mainline in revision 6743.
  • Revision ID: jelmer@jelmer.uk-20170723171718-e6digv00ohocq7uq
Move UnstackableBranchFormat.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import breezy.branch
20
20
from breezy import (
 
21
    branch as _mod_branch,
21
22
    check,
22
23
    controldir,
23
24
    errors,
428
429
        try:
429
430
            child = branch.controldir.clone_on_transport(child_transport,
430
431
                                                     stacked_on=branch.base)
431
 
        except (errors.UnstackableBranchFormat,
 
432
        except (_mod_branch.UnstackableBranchFormat,
432
433
                errors.UnstackableRepositoryFormat):
433
434
            raise TestNotApplicable("branch or repository format does "
434
435
                "not support stacking")