View Ticket
Not logged in
Ticket UUID: 7c3ca0eae8287e75f79fdb05f2ed4942dcd2c0a0
Title: "not a ordinary file" errors in update command
Status: Fixed Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution: Fixed
Last Modified: 2010-02-25 12:59:45
Version Found In: 20100213123048
Description & Comments:
With reference to ticket 15f8f4a425248c35fe0babfcb6ccf45f1d5b9932, the "not a ordinary file" problem is not restricted to the rm command. Attempting to do "fossil update" or "fossil checkout --latest" when any file has been deleted will cause a similar error.

This change in behavior appears to remove all straightforward means of restoring deleted files; multiple commands or extra scripting will be needed if one wishes to restore several files.

Not to mention that it breaks existing scripts written to automate fossil processes, for unclear reasons.


drh added on 2010-02-25 12:59:37:
"fossil update" now reverts files that are missing from the filesystem. I was unable to reproduce the problem with "fossil checkout".