On Wed, Apr 23, 2014 at 07:22:20PM +0200, Stephan Beal wrote: > On Wed, Apr 23, 2014 at 7:10 PM, Martin Gagnon <eme...@gmail.com> wrote: > > > And when you edit with your local editor, you can visualize your change > > before commit using "fossil ui" and pointing your browser to > > http://localhost:8080/doc/ckout/../path/to/file.md > > > Nice tip - i never thought of that (or had forgotten it) for previewing > wiki pages. > > @Chad: > > fossil export PageName foo.wiki
Ah, now I see why it only works on Emacs for you. On FreeBSD+nvi this works: fossil wiki export PageName foo.wiki > > then visit your local server with the path /doc/ckout/foo.wiki > > that should do the trick. Actually, I think I'll probably just use a wiki directory within the project's base directory, check out files there, and commit them to the main repository, as a workaround for making it possible to edit the wiki as part of the main repository. There just needs to be a checkout from the wiki every time before editing, then a double-check to make sure someone hasn't changed the wiki again before importing the file contents back into the wiki. I'd really like to see the possibility of edit race conditions eliminated, of course, but I don't see a "good" way to do that without making it possible to either have a separate wiki checkout complete with merge and all the trimmings or integrate the wiki directly with the main check-out-able repository. Is there any chance of such a feature being added in the nearish future . . . ? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users