I described this a few days ago, but not very coherently. Here's  
another try. I'm happy to bung this in a tracker somewhere if someone  
hands me a url.

        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 "."...

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 ./

Thanks,
        Benjohn

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to