diff -r 52f816b40674 -r a814f8fcc65a mercurial/posix.py --- a/mercurial/posix.py Sun Jan 08 17:57:25 2012 +0100 +++ b/mercurial/posix.py Sun Jan 08 18:15:54 2012 +0100 @@ -438,6 +438,8 @@ def cacheable(self): return bool(self.stat.st_ino) + __hash__ = object.__hash__ + def __eq__(self, other): try: return self.stat == other.stat