~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.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:
3135
3135
            recommend_upgrade=recommend_upgrade, basedir=basedir)
3136
3136
        self.features.check_features(self._present_features)
3137
3137
 
 
3138
    def __eq__(self, other):
 
3139
        return (self.__class__ is other.__class__ and
 
3140
                self.features == other.features)
 
3141
 
3138
3142
 
3139
3143
format_registry.register_lazy("Bazaar Working Tree Format 4 (bzr 0.15)\n",
3140
3144
    "bzrlib.workingtree_4", "WorkingTreeFormat4")