~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Martin Pool
  • Date: 2005-09-13 01:37:23 UTC
  • Revision ID: mbp@sourcefrog.net-20050913013723-7e0026b48cbf08ff
- BROKEN: start refactoring fetch code to work well with weaves

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
        other.text_sha1 = self.text_sha1
167
167
        other.text_size = self.text_size
168
168
        other.text_version = self.text_version
169
 
        other.entry_version = self.entry_version
170
169
        # note that children are *not* copied; they're pulled across when
171
170
        # others are added
172
171
        return other
497
496
 
498
497
 
499
498
    def __ne__(self, other):
500
 
        return not self.__eq__(other)
 
499
        return not (self == other)
501
500
 
502
501
 
503
502
    def __hash__(self):