changelog: update read pending documentation
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 17 Jul 2015 15:53:56 +0200
changeset 25814 dc1a49264628
parent 25813 18bae5eb58c5
child 25815 e71e5629e006
changelog: update read pending documentation The pending index contains a full copy of the index + in-transaction data. We replace "extend" with "overwrite" to make this clearer.
mercurial/changelog.py
--- a/mercurial/changelog.py	Sun Jul 15 12:43:10 2012 -0400
+++ b/mercurial/changelog.py	Fri Jul 17 15:53:56 2015 +0200
@@ -269,7 +269,7 @@
         access its content.
 
         This function will read all the index data out of the pending file and
-        extend the main index."""
+        overwrite the main index."""
 
         if not self.opener.exists(file):
             return # no pending data for changelog