comparison tests/test-hook.t @ 23904:d251da5e0e84

transaction: include backup file in the "undo" transaction Once the transaction is closed, we now write transaction related data for possible future undo. For now, we only do it for full file "backup" because their were not handle at all in that case. In the future, we could move all the current logic to set undo up (that currently exists in localrepository) inside transaction itself, but it is not strictly requires to solve the current situation.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 16 Jan 2015 18:34:14 -0800
parents a387b0390082
children e9ede9b4c2f8
comparison
equal deleted inserted replaced
23903:426607be9c69 23904:d251da5e0e84
156 data 156 data
157 fncache 157 fncache
158 journal.phaseroots 158 journal.phaseroots
159 phaseroots 159 phaseroots
160 undo 160 undo
161 undo.backup.fncache
162 undo.backupfiles
161 undo.phaseroots 163 undo.phaseroots
162 164
163 165
164 precommit hook can prevent commit 166 precommit hook can prevent commit
165 167