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

  • Committer: Aaron Bentley
  • Date: 2007-12-17 14:41:15 UTC
  • mto: This revision was merged to the branch mainline in revision 3128.
  • Revision ID: aaron.bentley@utoronto.ca-20071217144115-e08qrqvafagi7bdu
Use source format where available for splitting

Show diffs side-by-side

added added

removed removed

Lines of Context:
1023
1023
        sub_path = self.id2path(file_id)
1024
1024
        branch_transport = mkdirs(sub_path)
1025
1025
        if format is None:
1026
 
            format = bzrdir.format_registry.make_bzrdir('dirstate-with-subtree')
 
1026
            format = self.bzrdir.cloning_metadir()
 
1027
        if not format._repository_format.rich_root_data:
 
1028
            format = bzrdir.format_registry.make_bzrdir('rich-root')
1027
1029
        branch_transport.ensure_base()
1028
1030
        branch_bzrdir = format.initialize_on_transport(branch_transport)
1029
1031
        try: