I like to use doc/ckout feature of "Embedded Documentation" from fossil running 
as a windows service.
Than means ability to preview file prior its check in  to repo on the URL in 
the form 
     <baseurl>/doc/ckout/<filename> 
as described in [1]. The page also states that:
The "ckout" keyword normally only works when you start your server using the 
"fossil server" or "fossil ui" command line

I can preview file from fossil executed as fossil server[3]. If I try to use it 
from fossil as a service I receive just information
"No such document: myfiletopreview.txt"[2].

The URL in both cases could be the same (I use different port numbers to be 
able to check situation simultaneously,
but it does not work even if I use the same port number)

I cannot find a place where distinction between fossil as service and fossil 
executed as server is is enforced. Could "ckout" feature
be used also with fossil executed as service? Or could you point out where this 
check is done?

Thanks

Peter
--references
[1] 
http://www.fossil-scm.org/fossil/doc/tip/www/embeddeddoc.wiki

[2]
--service was defined with command
fossil.exe winsrv create fossil_serviceA --display fossil_serviceA --start auto 
--port 8080  --files '*.txt'  --repository c:\soft\repos\. --notfound 
"fossilcanonical/timeline"
--command line of fossil executed as a service as seen on service property page 
- doc/ckout/myfiletopreview.txt will not work
"c:\soft\bin\fossil.exe" server --port 8080 --notfound "myfossilclone/timeline" 
--files-urlenc %27%2A.txt%27 "c:/soft/repos"
--fossil service URL -  shows "No such document: myfiletopreview.txt"
http://localhost:8080/myfossilclone/doc/ckout/myfiletopreview.txt

[3]
--if I execute the same command as get executed as a service manually  in cmd 
shell I can use ckout feature just fine 
"c:\soft\bin\fossil.exe" server --port 8089 --notfound "myfossilclone/timeline" 
--files-urlenc %27%2A.txt%27 "c:/soft/repos"
--fossil executed as server URL - previes file OK
http://localhost:8089/myfossilclone/doc/ckout/myfiletopreview.txt
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to