[PATCH] Fixed docstring typos

Martin Geisler mg at daimi.au.dk
Tue Aug 12 06:46:01 CDT 2008


# HG changeset patch
# User Martin Geisler <mg at daimi.au.dk>
# Date 1218541548 -7200
# Node ID 44b3eb37cb2e5a9d8408ebe9e4ef125e21c19b5b
# Parent  14a6521128651fcb5eff9f513afa364dd5df345a
Fixed docstring typos

diff -r 14a652112865 -r 44b3eb37cb2e mercurial/revlog.py
--- a/mercurial/revlog.py	Mon Aug 11 22:24:49 2008 +0200
+++ b/mercurial/revlog.py	Tue Aug 12 13:45:48 2008 +0200
@@ -421,7 +421,7 @@
     A revlog consists of two parts, an index and the revision data.
 
     The index is a file with a fixed record size containing
-    information on each revision, includings its nodeid (hash), the
+    information on each revision, including its nodeid (hash), the
     nodeids of its parents, the position and offset of its data within
     the data file, and the revision it's based on. Finally, each entry
     contains a linkrev entry that can serve as a pointer to external
@@ -942,7 +942,7 @@
                               self.revision(self.node(rev2)))
 
     def revision(self, node):
-        """return an uncompressed revision of a given"""
+        """return an uncompressed revision of a given node"""
         if node == nullid:
             return ""
         if self._cache and self._cache[0] == node:


More information about the Mercurial-devel mailing list