Ticket UUID: | bfef8e4f89cd4b161a58485656587f6b9ecc39d9 | ||
Title: | Stash doesn't save files without using "fossil changes" before | ||
Status: | Fixed | Type: | Code_Defect |
Severity: | Critical | Priority: | |
Subsystem: | Resolution: | Fixed | |
Last Modified: | 2011-01-18 18:37:11 | ||
Version Found In: | afc4bf41fa | ||
Description & Comments: | |||
After making changes, doing "fossil stash", and looking into _FOSSIL_ with SQLite, I can't find entries for changed files in stashfile table.
I think dmitry added on 2011-01-18 01:08:35 UTC: dmitry added on 2011-01-18 01:21:52 UTC: $ mkdir test $ fossil new test.fossil project-id: 755eae875fa636930aa6632774b6efd6a3dfaac2 server-id: 9f8a7e68aad9f9a841f2bc50f8cbba69686473a7 admin-user: dmitry (initial password is "0378ff") $ cd test $ fossil open ../test.fossil $ echo "Hello" > file.txt $ fossil add file.txt ADDED file.txt $ fossil commit -m "Initial commit" New_Version: 05ac6ff529aaea66a245e4caef85f74d11cf06e2 $ echo "edited" >> file.txt $ fossil stash REVERTED: file.txt $ fossil stash diff (nothing) $ sqlite3 _FOSSIL_ "SELECT * FROM stashfile" (nothing) $ sqlite3 _FOSSIL_ "SELECT * FROM stash" 1|3||2455579.55262627 Now, using $ cd .. $ rm -r test.fossil test $ mkdir test $ fossil new test.fossil project-id: eb268780a7e272e2d24a9a5aef50daf95f1ea057 server-id: 58b2e74f0c914e8bd01d7f336e59c619b8eb17c6 admin-user: dmitry (initial password is "49059c") $ cd test $ fossil open ../test.fossil $ echo "Hello" > file.txt $ fossil add file.txt ADDED file.txt $ fossil commit -m "Initial commit" New_Version: 71d5025350f6c4501816229f04ed85d6c9be61e7 $ echo "edited" >> file.txt $ fossil changes EDITED file.txt $ fossil stash REVERTED: file.txt $ fossil stash diff CHANGED file.txt --- file.txt +++ file.txt @@ -1,1 +1,2 @@ Hello +edited dmitry added on 2011-01-18 01:44:02 UTC: dmitry added on 2011-01-18 02:03:39 UTC: |