Show More
@@ -276,14 +276,14 b' class filectx(object):' | |||
|
276 | 276 | |
|
277 | 277 | def __hash__(self): |
|
278 | 278 | try: |
|
279 |
return hash((self._path, self._file |
|
|
279 | return hash((self._path, self._filenode)) | |
|
280 | 280 | except AttributeError: |
|
281 | 281 | return id(self) |
|
282 | 282 | |
|
283 | 283 | def __eq__(self, other): |
|
284 | 284 | try: |
|
285 | 285 | return (self._path == other._path |
|
286 |
and self._file |
|
|
286 | and self._filenode == other._filenode) | |
|
287 | 287 | except AttributeError: |
|
288 | 288 | return False |
|
289 | 289 |
General Comments 0
You need to be logged in to leave comments.
Login now