Mercurial > hg
diff mercurial/templates/monoblue/changeset.tmpl @ 23281:f60ed8cf4afc
transaction: pass the transaction to 'finalize' callback
The callback will likely need to perform some operation related to the
transaction (eg: registering file update). So we better pass the current
transaction as the callback argument. Otherwise callback that needs it has to
rely on horrible weak reference trick.
This allow already allow us to slay a wild weak reference usage.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sat, 08 Nov 2014 16:31:38 +0000 |
parents | 52305554fd6e |
children | 9e1f4c65f5f5 |