Fossil

View Ticket
Login

View Ticket

Ticket Hash: 0e5d75657faa7a7cefb3ba8546d2b377e8bee4ed
Title: browsing /doc/ckout shows files not added to repository
Status: Closed Type: Feature_Request
Severity: Important Priority:
Subsystem: Resolution: Works_As_Designed
Last Modified: 2023-01-17 17:03:01
Version Found In: [e09af364aa] 2010-03-22 09:38:44
Description:
When browsing /doc/ckout files which are present in the filesystem but not added in the repository are shown.

$ fossil new test.fossil $ fossil open test.fossil $ fossil server&

http://127.0.0.1:8080/doc/ckout/index.wiki now should show an error as should http://127.0.0.1:8080/doc/tip/index.wiki

$ echo Hello World! > index.wiki

http://127.0.0.1:8080/doc/ckout/index.wiki now should show "Hello World!"

$ fossil commit

Now since the file was not added it is not committed and hence http://127.0.0.1:8080/doc/tip/index.wiki still shows an error. http://127.0.0.1:8080/doc/ckout/index.wiki should have been showing something like "file not added to repository" all the time so that it is consistent with the committed state created by committing the checkout.


anonymous added on 2010-06-17 14:27:45:
Attached patch adds /doc/idx which shows only files already added.


Attachments: