changeset 4892: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
+++ 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