View Ticket
Not logged in
Ticket UUID: 60211effbd2c6e3f823b4fadbbe9b29e1cc12a10
Title: fossil mv nonexistentfile newfilename
Status: Open Type: Code_Defect
Severity: Minor Priority:
Subsystem: Resolution: Open
Last Modified: 2011-10-24 18:15:59
Version Found In: 1.19 [080d27a6b2]
Description & Comments:
I did by mistake
fossil mv nonexistentfile newfilename
and fossil didn't complained about renaming nonexistent file.

I expect, that fossil will refuse that command.


dmitry added on 2011-10-24 18:15:59 UTC:
I think leaving it as is, issuing a warning, or asking a user to confirm the action instead of failing is better, because I sometimes first do

mv file renamedfile

and then remember to mv it in Fossil:

fossil mv file renamedfile

If Fossil didn't allow this, I'd have to rename the file back to the original name, then do `fossil mv`, and rename it again.