contexts: improve filectx eq test
authorMatt Mackall <mpm@selenic.com>
Mon, 16 Jul 2007 17:39:03 -0500
changeset 4892 3b081f2a77b2
parent 4891 f24191a5d45a
child 4893 44b0031514c1
contexts: improve filectx eq test
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