Fossil SCM

Stash for an uncommitted, untracked file gives no warning or error

Closed

cde4448290586f0… · opened 15 years, 2 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Works_As_Designed
Subsystem
Created
Feb. 6, 2011 9:45 p.m.

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.

Comments (1)

system 2 years, 2 months ago

Closing as part of periodic cleanup.

Keyboard Shortcuts

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