View Ticket
Not logged in
Ticket UUID: cde4448290586f08a18ec76224258683006ad98e
Title: Stash for an uncommitted, untracked file gives no warning or error
Status: Open Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution:
Last Modified: 2011-02-06 21:45:34
Version Found In: d5729c31b5
Description & Comments:
If you try and explicitly stash a file that isn't being tracked, you get no warning.
echo "hello" > test.txt
fossil stash save -m "Test stash" test.txt   # Would expect an error when running this line

# I managed to do the following: echo "world" > test.txt fossil stash pop

And blew away some work. My fault for not having committed the changes, but silently failing definitely seemed like note-worthy bug.