author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
Mon, 19 Apr 2010 21:44:21 +0200 | |
changeset 10943 | 15aaa3637f19 |
parent 10941 | 2067532d95e7 (current diff) |
parent 10942 | 6f26ce7ae175 (diff) |
child 10945 | 90f72f47cfc2 |
--- 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