On Wed, May 14, 2014 at 5:55 PM, Stephan Beal <sgb...@googlemail.com> wrote:

> Would this strategy server your purpose:
>
> - add a (-format FORMAT) option to (wiki commit).
>
> - if no format is specified, use the format from the prior version (if
> there is one), defaulting to fossil-wiki if no prior version is set or the
> prior version has no explicit format.
>

Hi, Chad!

i've gone ahead and merged that into the trunk, but i renamed the flag to
--mimetype|-M, instead of --format (it turns out i had a semantic conflict
with "format" in /json/wiki, where "format" is used for another purpose).

So:

fossil wiki commit PageName InputFile --mimetype text/x-markdown

if you leave of -mimetype, it will default to whatever the previous version
of the page had.

Have fun!

-- 
----- 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

Reply via email to