changeset 23252:70809438c644

transaction: document `tr.add`
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 05 Nov 2014 13:00:48 +0000
parents 85c634ff395a
children 8d84b7a2dd91
files mercurial/transaction.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/transaction.py	Wed Nov 05 10:05:38 2014 +0000
+++ b/mercurial/transaction.py	Wed Nov 05 13:00:48 2014 +0000
@@ -142,6 +142,7 @@
 
     @active
     def add(self, file, offset, data=None):
+        """record the state of an append-only file before update"""
         if file in self.map or file in self._backupmap:
             return
         if self._queue: