Mercurial > public > mercurial-scm > hg-stable
diff mercurial/context.py @ 4889:3b081f2a77b2
contexts: improve filectx eq test
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 16 Jul 2007 17:39:03 -0500 |
parents | e45c5120ca27 |
children | 1fd7a99d98f6 |
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