# HG changeset patch # User Benoit Boissinot # Date 1271706261 -7200 # Node ID 15aaa3637f19223ac52ffbd2b37dd4f8db4d6a71 # Parent 2067532d95e777ef5c0159df801297fcf2efdd85# Parent 6f26ce7ae17586a803b3bee7e1380020ac92632a merge with stable diff -r 2067532d95e7 -r 15aaa3637f19 mercurial/context.py --- a/mercurial/context.py Mon Apr 19 20:49:09 2010 +0200 +++ b/mercurial/context.py Mon Apr 19 21:44:21 2010 +0200 @@ -276,14 +276,14 @@ def __hash__(self): try: - return hash((self._path, self._fileid)) + return hash((self._path, self._filenode)) except AttributeError: return id(self) def __eq__(self, other): try: return (self._path == other._path - and self._fileid == other._fileid) + and self._filenode == other._filenode) except AttributeError: return False