Mercurial > hg
diff mercurial/transaction.py @ 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 |
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: