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

  • Committer: Jelmer Vernooij
  • Date: 2010-06-23 19:07:06 UTC
  • mfrom: (0.200.930 trunk)
  • mto: (0.200.951 trunk)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@samba.org-20100623190706-t2mqoj2o304ni80f
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
 
81
81
        interrepo = InterRepository.get(source_repo, target_repo)
82
82
        mapping = source_repo.get_mapping()
83
 
        refs = interrepo.fetch()
 
83
        refs = interrepo.fetch_refs()
84
84
        tags = {}
85
85
        for k, v in extract_tags(refs).iteritems():
86
86
            tags[k] = mapping.revision_id_foreign_to_bzr(v)
97
97
                    parent_path = urlutils.dirname(head_loc)
98
98
                    if not os.path.isdir(parent_path):
99
99
                        os.makedirs(parent_path)
100
 
                    head_bzrdir = BzrDir.create(head_loc)
 
100
                    head_bzrdir = BzrDir.create(head_loc, format=format)
101
101
                try:
102
102
                    head_branch = head_bzrdir.open_branch()
103
103
                except NotBranchError: