/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 branch.py

Fix imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
from bzrlib import (
26
26
    branch,
 
27
    bzrdir,
27
28
    config,
28
29
    errors,
29
30
    foreign,
40
41
    mutter,
41
42
    )
42
43
 
 
44
from bzrlib.plugins.git import (
 
45
    get_rich_root_format,
 
46
    )
43
47
from bzrlib.plugins.git.config import (
44
48
    GitBranchConfig,
45
49
    )
233
237
        :param hardlink: Whether to hardlink
234
238
        :return: WorkingTree object of checkout.
235
239
        """
236
 
        checkout_branch = BzrDir.create_branch_convenience(
 
240
        checkout_branch = bzrdir.BzrDir.create_branch_convenience(
237
241
            to_location, force_new_tree=False, format=get_rich_root_format())
238
242
        checkout = checkout_branch.bzrdir
239
243
        checkout_branch.bind(self)