changeset 4889:3b081f2a77b2

contexts: improve filectx eq test
author Matt Mackall <mpm@selenic.com>
date Mon, 16 Jul 2007 17:39:03 -0500
parents f24191a5d45a
children 44b0031514c1
files mercurial/context.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/context.py	Mon Jul 16 17:30:34 2007 -0500
+++ b/mercurial/context.py	Mon Jul 16 17:39:03 2007 -0500
@@ -184,7 +184,7 @@
     def __eq__(self, other):
         try:
             return (self._path == other._path
-                    and self._changeid == other._changeid)
+                    and self._fileid == other._fileid)
         except AttributeError:
             return False