/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 bzrlib/builtins.py

  • Committer: Robert Collins
  • Date: 2009-12-22 23:09:50 UTC
  • mfrom: (4918 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4920.
  • Revision ID: robertc@robertcollins.net-20091222230950-39gjmost0lmu9ufg
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    bundle,
32
32
    btree_index,
33
33
    bzrdir,
 
34
    directory_service,
34
35
    delta,
35
36
    config,
36
37
    errors,
5488
5489
            if branch is None:
5489
5490
                raise errors.BzrCommandError('cannot create branch without'
5490
5491
                                             ' source branch')
 
5492
            to_location = directory_service.directories.dereference(
 
5493
                              to_location)
5491
5494
            if '/' not in to_location and '\\' not in to_location:
5492
5495
                # This path is meant to be relative to the existing branch
5493
5496
                this_url = self._get_branch_location(control_dir)