Fossil SCM

browsing /doc/ckout shows files not added to repository

Closed

0e5d75657faa7a7… · opened 15 years, 10 months ago

Type
Feature_Request
Priority
Severity
Important
Resolution
Works_As_Designed
Subsystem
Created
May 24, 2010 8:12 p.m.

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.

Keyboard Shortcuts

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