# HG changeset patch # User Pierre-Yves David # Date 1437141236 -7200 # 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 -r 18bae5eb58c5 -r dc1a49264628 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