comparison mercurial/dummycert.pem @ 24283:ef22cfff7052

transaction: add a validation stage The 'transaction' object can now be fed a 'validator' function. This function will be run right before the transaction is closed to validate its content. The target usage is hooks. The validation function is expected to raise an exception when it wants to abort the transaction. This only introduce the idea with a default no-op validator. Actual usage is in the next changeset.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 09 Mar 2015 22:43:36 -0700
parents d7f7f1860f00
children
comparison
equal deleted inserted replaced
24282:db8679812f84 24283:ef22cfff7052