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

  • Committer: Jelmer Vernooij
  • Date: 2011-12-07 14:03:01 UTC
  • mto: (6213.1.25 feature-flags)
  • mto: This revision was merged to the branch mainline in revision 6353.
  • Revision ID: jelmer@samba.org-20111207140301-87aa1dcekem98tws
Add BzrDirMetaComponentFormat.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
from bzrlib.workingtree import (
72
72
    InventoryWorkingTree,
73
73
    WorkingTree,
74
 
    WorkingTreeFormat,
 
74
    WorkingTreeFormatMetaDir,
75
75
    )
76
76
 
77
77
 
1448
1448
        return views.PathBasedViews(self)
1449
1449
 
1450
1450
 
1451
 
class DirStateWorkingTreeFormat(WorkingTreeFormat):
 
1451
class DirStateWorkingTreeFormat(WorkingTreeFormatMetaDir):
1452
1452
 
1453
1453
    missing_parent_conflicts = True
1454
1454
 
1620
1620
 
1621
1621
    _tree_class = WorkingTree4
1622
1622
 
1623
 
    def get_format_string(self):
 
1623
    @classmethod
 
1624
    def get_format_string(cls):
1624
1625
        """See WorkingTreeFormat.get_format_string()."""
1625
1626
        return "Bazaar Working Tree Format 4 (bzr 0.15)\n"
1626
1627
 
1637
1638
 
1638
1639
    _tree_class = WorkingTree5
1639
1640
 
1640
 
    def get_format_string(self):
 
1641
    @classmethod
 
1642
    def get_format_string(cls):
1641
1643
        """See WorkingTreeFormat.get_format_string()."""
1642
1644
        return "Bazaar Working Tree Format 5 (bzr 1.11)\n"
1643
1645
 
1657
1659
 
1658
1660
    _tree_class = WorkingTree6
1659
1661
 
1660
 
    def get_format_string(self):
 
1662
    @classmethod
 
1663
    def get_format_string(cls):
1661
1664
        """See WorkingTreeFormat.get_format_string()."""
1662
1665
        return "Bazaar Working Tree Format 6 (bzr 1.14)\n"
1663
1666