diff -r 44fa047cef57 -r 933b9ff73750 mercurial/context.py --- a/mercurial/context.py Wed Jan 11 15:53:42 2012 -0500 +++ b/mercurial/context.py Sun Jan 15 18:00:01 2012 -0600 @@ -388,7 +388,7 @@ if (fctx._filerev is None and (self._repo._encodefilterpats # if file data starts with '\1\n', empty metadata block is - # prepended, which adds 4 bytes to fielog.size(). + # prepended, which adds 4 bytes to filelog.size(). or self.size() - 4 == fctx.size()) or self.size() == fctx.size()): return self._filelog.cmp(self._filenode, fctx.data())