equal
deleted
inserted
replaced
2241 tr.changes[b'phases'] = [] |
2241 tr.changes[b'phases'] = [] |
2242 tr.changes[b'bookmarks'] = {} |
2242 tr.changes[b'bookmarks'] = {} |
2243 |
2243 |
2244 tr.hookargs[b'txnid'] = txnid |
2244 tr.hookargs[b'txnid'] = txnid |
2245 tr.hookargs[b'txnname'] = desc |
2245 tr.hookargs[b'txnname'] = desc |
|
2246 tr.hookargs[b'changes'] = tr.changes |
2246 # note: writing the fncache only during finalize mean that the file is |
2247 # note: writing the fncache only during finalize mean that the file is |
2247 # outdated when running hooks. As fncache is used for streaming clone, |
2248 # outdated when running hooks. As fncache is used for streaming clone, |
2248 # this is not expected to break anything that happen during the hooks. |
2249 # this is not expected to break anything that happen during the hooks. |
2249 tr.addfinalize(b'flush-fncache', self.store.write) |
2250 tr.addfinalize(b'flush-fncache', self.store.write) |
2250 |
2251 |