/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/plugins/weave_fmt/bzrdir.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:
34
34
import warnings
35
35
 
36
36
from breezy import (
 
37
    branch as _mod_branch,,
37
38
    errors,
38
39
    graph,
39
40
    lockable_files,
903
904
                    "source branch %r is not within %r with branch %r" %
904
905
                    (source_branch, self, my_branch))
905
906
        if stacked:
906
 
            raise errors.UnstackableBranchFormat(
 
907
            raise _mod_branch.UnstackableBranchFormat(
907
908
                self._format, self.root_transport.base)
908
909
        if not create_tree_if_local:
909
910
            raise errors.MustHaveWorkingTree(