View Ticket
Not logged in
Ticket UUID: 34707fabfd8a5df2d9f600b56edf5f6106a79b41
Title: add after rm doesn't work
Status: Fixed Type: Code_Defect
Severity: Severe Priority:
Subsystem: Resolution: Fixed
Last Modified: 2011-12-22 13:57:41
Version Found In: c4ade43651
Description & Comments:
On executing following set of commands, file1 doesn't get added back.
fossil new test
fossil open test
touch file1
fossil add file1
fossil commit -m "one"
fossil rm file1
fossil add file1         # <-- This command doesn't add file1 again
fossil commit -m "two"
fossil ls

Since add followed by a commit is a valid sequence, there are possibilities of user losing his work.