[PATCH 2 of 2 V2 STABLE] filectx: typo in comment

Christian Ebert blacktrash at gmx.net
Sun Jan 15 06:42:21 CST 2012


# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1326631149 -3600
# Node ID 8c9cec77c718739cb1e0d58aab01885537ea6c8e
# Parent  3fc1d029c987da66eb41eb89a9f56496379a85f1
filectx: typo in comment

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -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())


More information about the Mercurial-devel mailing list