Hi, all!

libfossil has reached another minor milestone: a couple weeks ago Dave
implemented two sqlite virtual tables to provide access to the various
fossil-defined config settings, including versioned settings. Since then he
has added transactions support, such that changes to versioned settings
(which are stored in checkout-local files) are treated just like other data
for transactions purposes.

There's a demo, in the form of a unit test script, here:

http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/artifact/cbab7364ea7ca575e33d417fb4b1d6d247393ed1

PS: mentally translate the "affirm" commands shown there to "assert" and
you'll understand what they're doing. 'affirm' is like a "soft assert"
which throws an exception if it fails instead of fatally killing the script
(like 'assert' does).

Happy fossiling!

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