Re: [fossil-users] committing wiki pages changes format parser

2014-05-30 Thread Stephan Beal
On Wed, May 14, 2014 at 5:55 PM, Stephan Beal 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

Re: [fossil-users] committing wiki pages changes format parser

2014-05-14 Thread Stephan Beal
On Wed, May 14, 2014 at 6:33 PM, Stephan Beal wrote: > i need to test this a bit more before committing, and would like to > consider adding a filter which rejects any unknown mime types (but i'm not > sure that's such a good idea because i have uses for non-canon mime types > via the JSON API...

Re: [fossil-users] committing wiki pages changes format parser

2014-05-14 Thread Stephan Beal
On Wed, May 14, 2014 at 5:55 PM, Stephan Beal 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

Re: [fossil-users] committing wiki pages changes format parser

2014-05-14 Thread Stephan Beal
On Tue, May 13, 2014 at 9:27 PM, Chad Perrin wrote: > On Tue, May 13, 2014 at 09:55:10AM +0200, Stephan Beal wrote: > > Doh - you can't currently. The shell mode export/import was added _long_ > > before other formats were supported, and it's not aware of them. i've > added > > that to the TODO l

Re: [fossil-users] committing wiki pages changes format parser

2014-05-13 Thread Martin Gagnon
On Tue, May 13, 2014 at 01:27:17PM -0600, Chad Perrin wrote: > On Tue, May 13, 2014 at 09:55:10AM +0200, Stephan Beal wrote: > > On Tue, May 13, 2014 at 12:12 AM, Chad Perrin wrote: > > > > > > When I use the "fossil wiki" command to work with wiki pages at the > > > shell, edit files and check th

Re: [fossil-users] committing wiki pages changes format parser

2014-05-13 Thread Chad Perrin
On Tue, May 13, 2014 at 09:55:10AM +0200, Stephan Beal wrote: > On Tue, May 13, 2014 at 12:12 AM, Chad Perrin wrote: > > > > When I use the "fossil wiki" command to work with wiki pages at the > > shell, edit files and check them back in, what was once treated as a > > markdown formatted wiki page

Re: [fossil-users] committing wiki pages changes format parser

2014-05-13 Thread Stephan Beal
On Tue, May 13, 2014 at 12:12 AM, Chad Perrin wrote: > When I use the "fossil wiki" command to work with wiki pages at the > shell, edit files and check them back in, what was once treated as a > markdown formatted wiki page gets coerced back to being a "wiki markup" > formatted wiki page. How d

[fossil-users] committing wiki pages changes format parser

2014-05-12 Thread Chad Perrin
When I use the "fossil wiki" command to work with wiki pages at the shell, edit files and check them back in, what was once treated as a markdown formatted wiki page gets coerced back to being a "wiki markup" formatted wiki page. How do I stop this from happening? While I'm at it . . . how do I s