Overview
Artifact ID: | f1c27f1d22a24f6d7d1cbaa42e694581e1c4ed61 |
---|---|
Ticket: | a9722a15d235b8220fe56794c2e89f6abbfa3f8c
Fossil leaves files in inconsistent state after error |
User & Date: | anonymous 2010-01-13 14:39:04 |
Changes
- comment changed to:
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: 1 Something similar to "rollback". If it fails, keep a copy of the existing files and replace them 2 Do the update of all files to files "myfile.c.tempfossil" and rename all files after successful operation 3 If the update has been partially made, change the "fossil info" checkout version number
- foundin changed to: "[d5695157d0] 2009-11-11 16:21:19 UTC"
- private_contact changed to: "8e5512298212f868fe073c222856411c5f59c68e"
- severity changed to: "Severe"
- status changed to: "Open"
- title changed to:
Fossil leaves files in inconsistent state after error
- type changed to: "Code_Defect"