changeset 25814:dc1a49264628

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.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 17 Jul 2015 15:53:56 +0200
parents 18bae5eb58c5
children e71e5629e006
files mercurial/changelog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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