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