Hi all, I have got a question that may sound strange at first, but I'm still looking for an answer to exactly that question.
Let's assume the following sequence of actions: $ cd /tmp/somewhere $ touch file1 file2 file3 $ fossil init test.fossil project-id: 578e141de7a7693c5fd03fba363d6293db16bab9 server-id: 2faeaaee5ddf4ca73cae23e2f91603098ab20fb3 admin-user: sbellon (initial password is "ae40d1") $ fossil open -keep test.fossil project-name: <unnamed> repository: /tmp/somewhere/test.fossil local-root: /tmp/somewhere config-db: /home/sbellon/.fossil project-code: 578e141de7a7693c5fd03fba363d6293db16bab9 checkout: c7c66d503a55c7d720f2aa7f3052f7a1f4097d51 2018-03-29 08:45:57 UTC tags: trunk comment: initial empty check-in (user: sbellon) check-ins: 1 $ fossil addremove ADDED file1 ADDED file2 ADDED file3 added 3 files, deleted 0 files $ fossil commit -m "test" New_Version: d52a8fb4d9f384fc930b699bcbdde6e8865fadbc5d8a7086c21a7f93d32e1b3d $ rm test.fossil $ fossil init test.fossil project-id: 6b691ef4ce7a12c543f91edfb9fd162a033710f6 server-id: 9329880b60cad63557262cff64033d31127ffcb0 admin-user: sbellon (initial password is "a8410e") How can I then detect that the .fslckout/_FOSSIL_ no longer matches the test.fossil? When I "fossil init", I get a "project-id", however that project-id is not stored inside the .fslckout/_FOSSIL_ as far as I can see. After the above sequence of actions, the first test.fossil repository has the three files file1, file2, and file3 committed and the local .fslckout/_FOSSIL_ knows about that workspace state. Then, wen I remove the test.fossil and init a new one, the repository - obviously - does not know about them any more, however the local workspace state still does somehow. A "fossil timeline" does not show any commit, but a "fossil status" shows EDITED. $ fossil timeline === 2018-03-29 === 08:48:11 [2905e93224] initial empty check-in (user: sbellon tags: trunk) +++ no more data (1) +++ $ fossil status repository: /tmp/somewhere/test.fossil local-root: /tmp/somewhere config-db: /home/sbellon/.fossil EDITED file1 EDITED file2 EDITED file3 If I then attempt a commit: $ fossil commit -m "test 2" Could not find a valid check-in for RID 6. Possible checkout/repo mismatch. Is there any way to find out before attempting to do a commit? TIA. Greetings, Stefan -- Stefan Bellon _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

