# HG changeset patch # User Matt Mackall # Date 1184625543 18000 # Node ID 3b081f2a77b286259d5bb604ef9bde875b5595d0 # Parent f24191a5d45aec087f63fd6a39230c313287d3c8 contexts: improve filectx eq test diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -184,7 +184,7 @@ class filectx(object): def __eq__(self, other): try: return (self._path == other._path - and self._changeid == other._changeid) + and self._fileid == other._fileid) except AttributeError: return False