Fossil SCM

add after rm doesn't work

Fixed

34707fabfd8a5df… · opened 14 years, 3 months ago

Type
Code_Defect
Priority
Severity
Severe
Resolution
Fixed
Subsystem
Created
Dec. 22, 2011 5:20 a.m.

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.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button