# HG changeset patch # User Pierre-Yves David # Date 2015-07-17 13:53:56 # Node ID dc1a4926462850ce14bde3380db47c2ee0d31291 # Parent 18bae5eb58c5687a4d2c188e1e1f0e87f9413697 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. diff --git a/mercurial/changelog.py b/mercurial/changelog.py --- a/mercurial/changelog.py +++ b/mercurial/changelog.py @@ -269,7 +269,7 @@ class changelog(revlog.revlog): 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