comparison hgeditor @ 22078:feb4797c676e

transaction: add a file generation mechanism A new `transaction.addfilegenerator` function is added. It allows external code to register files to be generated. See inline documentation for details. It is important to gather all file creation logic on the transaction as at some point we'll want to mimic the "pre-transaction-commit" logic that we use for revlog. I'm refering to the logic that lets hooks see the result of the transaction before it actually gets committed.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 07 Aug 2014 14:40:02 -0700
parents 2b440bb8a66b
children 1aee2ab0f902
comparison
equal deleted inserted replaced
22077:2990ce46fc2d 22078:feb4797c676e