Mercurial > hg-stable
comparison tests/test-fncache.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 | 7d63398fbfd1 |
children | 9573d8f346f1 |
comparison
equal
deleted
inserted
replaced
23903:426607be9c69 | 23904:d251da5e0e84 |
---|---|
79 .hg/dirstate | 79 .hg/dirstate |
80 .hg/last-message.txt | 80 .hg/last-message.txt |
81 .hg/phaseroots | 81 .hg/phaseroots |
82 .hg/requires | 82 .hg/requires |
83 .hg/undo | 83 .hg/undo |
84 .hg/undo.backupfiles | |
84 .hg/undo.bookmarks | 85 .hg/undo.bookmarks |
85 .hg/undo.branch | 86 .hg/undo.branch |
86 .hg/undo.desc | 87 .hg/undo.desc |
87 .hg/undo.dirstate | 88 .hg/undo.dirstate |
88 .hg/undo.phaseroots | 89 .hg/undo.phaseroots |
112 .hg/store/data | 113 .hg/store/data |
113 .hg/store/data/tst.d.hg | 114 .hg/store/data/tst.d.hg |
114 .hg/store/data/tst.d.hg/_foo.i | 115 .hg/store/data/tst.d.hg/_foo.i |
115 .hg/store/phaseroots | 116 .hg/store/phaseroots |
116 .hg/store/undo | 117 .hg/store/undo |
118 .hg/store/undo.backupfiles | |
117 .hg/store/undo.phaseroots | 119 .hg/store/undo.phaseroots |
118 .hg/undo.bookmarks | 120 .hg/undo.bookmarks |
119 .hg/undo.branch | 121 .hg/undo.branch |
120 .hg/undo.desc | 122 .hg/undo.desc |
121 .hg/undo.dirstate | 123 .hg/undo.dirstate |