~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-24 04:17:54 UTC
  • mto: This revision was merged to the branch mainline in revision 6404.
  • Revision ID: jelmer@samba.org-20111124041754-28v04pyjf76c1me5
Fix __eq__.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2144
2144
    def supports_leaving_lock(self):
2145
2145
        return True
2146
2146
 
 
2147
    def __eq__(self, other):
 
2148
        return (self.__class__ is other.__class__ and
 
2149
                self.features == other.features)
 
2150
 
2147
2151
 
2148
2152
class BzrBranchFormat5(BranchFormatMetadir):
2149
2153
    """Bzr branch format 5.