/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-01-11 03:46:53 UTC
  • mto: (2255.6.1 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: aaron.bentley@utoronto.ca-20070111034653-wa1n3uy49wbvom5m
Remove get_format_*, make FormatRegistry.register_metadir vary working tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
895
895
        sub_path = self.id2path(file_id)
896
896
        branch_transport = mkdirs(sub_path)
897
897
        if format is None:
898
 
            format = bzrdir.get_knit2_format()
 
898
            format = bzrdir.format_registry.make_bzrdir('experimental-knit2')
899
899
        try:
900
900
            branch_transport.mkdir('.')
901
901
        except errors.FileExists:
2293
2293
        WorkingTreeFormat3.__init__(self)
2294
2294
        
2295
2295
    def __get_matchingbzrdir(self):
2296
 
        return bzrdir.get_knit3_format()
 
2296
        return bzrdir.format_registry.make_bzrdir('experimental-knit3')
2297
2297
 
2298
2298
    _matchingbzrdir = property(__get_matchingbzrdir)
2299
2299