|
2010-01-14
| ||
| 15:35 | • Fixed ticket [a9722a15d2]: Fossil leaves files in inconsistent state after error plus 2 other changes ... (artifact: c094c26a69 user: drh) | |
| 15:34 | If a "merge" or "update" or "revert" fails, then automatically rollback any partial changes to the filesystem. Ticket [a9722a15d2]. ... (check-in: 7c3cb28d0f user: drh tags: trunk) | |
| 11:14 | • Ticket [a9722a15d2] Fossil leaves files in inconsistent state after error status still Open with 1 other change ... (artifact: 209df67ba7 user: anonymous) | |
|
2010-01-13
| ||
| 22:36 | • Ticket [a9722a15d2]: 1 change ... (artifact: eea7cd1de6 user: anonymous) | |
| 16:02 | • Ticket [a9722a15d2]: 2 changes ... (artifact: 3948dff8ab user: drh) | |
| 14:39 | • New ticket [a9722a15d2]. ... (artifact: f1c27f1d22 user: anonymous) | |
| Ticket Hash: | a9722a15d235b8220fe56794c2e89f6abbfa3f8c | ||
| Title: | Fossil leaves files in inconsistent state after error | ||
| Status: | Fixed | Type: | Code_Defect |
| Severity: | Severe | Priority: | |
| Subsystem: | Resolution: | Fixed | |
| Last Modified: |
2010-01-14 15:35:44 16.22 years ago |
Created: |
2010-01-13 14:39:04 16.22 years ago |
| Version Found In: | [d5695157d0] 2009-11-11 16:21:19 UTC | ||
| Description: | ||||
|
OP: Windows
performing a fossil update One file cannot be written (in our case, one DLL that was being used by an open program). Fossil gives an error and stops. The situation is the following: The name of the checkout version (given by fossil info) is the one previous to the update. All the files that had been updated prior to the error, become labelled as "EDITED". The situation is not easy to fix: "fossil update" does nothing "fossil checkout --latest --force" will miss all the legitimate changes made to the files Possible solutions:
drh added on 2010-01-13 16:02:04: fossil undo Did that not revert the files to their state before the update? anonymous claiming to be ramsan added on 2010-01-13 22:36:30: But shouldn't fossil do an automatic undo in case of error? anonymous claiming to be ramsan added on 2010-01-14 11:14:02: I have made a similar test in unix. Before the update, I've made: chmod -w file.c fossil update The update gives an error, "fossil info" points to the old version, and some of the files become marked as "EDITED" fossil undo does not work and responds: fossil: no update or merge operation is available to undo drh added on 2010-01-14 15:35:44: | ||||