~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.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:
1631
1631
                                            kind='repository')
1632
1632
        return cls.from_string(format_string)
1633
1633
 
 
1634
    def __eq__(self, other):
 
1635
        return (self.__class__ is other.__class__ and
 
1636
                self.features == other.features)
 
1637
 
1634
1638
 
1635
1639
# formats which have no format string are not discoverable or independently
1636
1640
# creatable on disk, so are not registered in format_registry.  They're