/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/plugins/weave_fmt/bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-11 15:36:12 UTC
  • mfrom: (5712.4.8 bzrdir-weave)
  • mto: This revision was merged to the branch mainline in revision 5718.
  • Revision ID: jelmer@samba.org-20110311153612-7xniucwst6rrjshk
merge bzrdir-weave.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
 
95
95
    _lock_class = lockable_files.TransportLock
96
96
 
 
97
    def __eq__(self, other):
 
98
        return type(self) == type(other)
 
99
 
97
100
    def get_format_string(self):
98
101
        """See BzrDirFormat.get_format_string()."""
99
102
        return "Bazaar-NG branch, format 5\n"
154
157
 
155
158
    _lock_class = lockable_files.TransportLock
156
159
 
 
160
    def __eq__(self, other):
 
161
        return type(self) == type(other)
 
162
 
157
163
    def get_format_string(self):
158
164
        """See BzrDirFormat.get_format_string()."""
159
165
        return "Bazaar-NG branch, format 6\n"
473
479
        return order
474
480
 
475
481
 
476
 
 
477
 
 
478
482
class ConvertBzrDir5To6(Converter):
479
483
    """Converts format 5 bzr dirs to format 6."""
480
484
 
656
660
 
657
661
    _lock_class = lockable_files.TransportLock
658
662
 
 
663
    def __eq__(self, other):
 
664
        return type(self) == type(other)
 
665
 
659
666
    def get_format_string(self):
660
667
        """See BzrDirFormat.get_format_string()."""
661
668
        return "Bazaar-NG branch, format 0.0.4\n"
918
925
        return RepositoryFormat4().open(self, _found=True)
919
926
 
920
927
 
921
 
 
922
 
 
923
928
class BzrDir5(BzrDirPreSplitOut):
924
929
    """A .bzr version 5 control object.
925
930