Ticket Change Details
Not logged in

Changes to ticket 552b3512dc

By anonymous on 2009-12-11 17:23:40. See also: artifact content, and ticket history

    1. Change comment to "Problem: I believe there is a bug with "fossil mv": it lets me move a file outside of the change controlled tree, at which point there is nothing I can do (to the best of my knowledge) to fix this situation with other fossil commands. I would expect: Either that fossil will prevent me from moving the file outside of the change controlled tree, or that fossil will allow me to rectify the situation afterwards. Reproduction Steps: Running these commands will build you a sandbox, set up a repo, open it, add a file, commit the file, and then move the file out. Bung them in a file and source it with "."... <pre> mkdir sandbox cd sandbox fossil new test_repo mkdir working_copy cd working_copy fossil open ../test_repo touch a_file fossil add a_file fossil com -m "Adding in a test file." fossil mv a_file .. mv a_file .. echo "Check changes, and see that the file is outside the change controlled tree." fossil chan echo "Try to move the file back in to the tree (which will fail)..." fossil mv ../a_file ./ </pre> Work around: It is possible to hack at the _FOSSIL_ sqlite db in the check out tree, but this is probably a terrible idea."
    2. Change foundin to "This is fossil version [f6790b7c3c] 2009-02-26 01:21:04 UTC"
    3. Change private_contact to "26b9307e29274509a60c16f2e6ab3b208f892237"
    4. Change severity to "Important"
    5. Change status to "Open"
    6. Change title to ""fossil mv" will let me move a file to outside of the tree."
    7. Change type to "Code_Defect"