On Wed, Apr 23, 2014 at 6:00 PM, Chad Perrin <c...@apotheon.net> wrote:
> Is there some way to check out the wiki and make edits as one would for > standard repository files, to be committed like standard repository > files, rather than always having to use a browser to edit the wiki? I > Kinda of: [stephan@host:~/cvs/fossil/libfossil]$ f help wiki Usage: f wiki (export|create|commit|list) WikiName Run various subcommands to work with wiki entries. f wiki export PAGENAME ?FILE? Sends the latest version of the PAGENAME wiki entry to the given file or standard output. f wiki commit PAGENAME ?FILE? Commit changes to a wiki page from FILE or from standard input. f wiki create PAGENAME ?FILE? Create a new wiki page with initial content taken from FILE or from standard input. f wiki list Lists all wiki entries, one per line, ordered case-insensitively by name. you can use 'export' to export a page to a file, edit in emacs (won't work with anything else ;), then use 'commit' to save the changes. Unfortunate there's not a direct way to preview changes without saving unless you want to use the JSON API (which provides "preview" feature for wiki text passed to it). > have searched through the "fossil help -a" documentation and tried > searching the fossil-scm website to no avail, making me think this is > probably not something "possible" with Fossil in its present form. > It is, but it's not quite like the "embedded docs" feature (which might be a better fit for you, except that you lose the ability to edit over the HTML interface). -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users