<h1>Fossil v2 Scratchpad</h1>

Experimentation for a potential v2 API for the SCM].


This code does nothing useful - it is intended for those interested in following or participating in the design of Fossil v2. All Fossil users are welcomed contributors - email me your preferred user name to get access:

<nowiki><pre>
./test -v -r ../whio.fsl
VERBOSE: test.c:50:test0():	Initialized fsl
VERBOSE: test.c:54:test0():	Trying to open db file [../whio.fsl]...
VERBOSE: test.c:57:test0():	Opened db file [../whio.fsl]
MARKER: test.c:102:main():	Done! rc=0 (FSL_RC_OK)
VERBOSE: test.c:68:my_atexit():	Finalized fsl
./test -v -r ../nope
VERBOSE: test.c:50:test0():	Initialized fsl
VERBOSE: test.c:54:test0():	Trying to open db file [../nope]...
MARKER: test.c:102:main():	Done! rc=14 (FSL_RC_DB)
MARKER: test.c:108:main():	Fossil says: error code #14 (FSL_RC_DB): Opening db file
[../nope] failed with sqlite code #14: unable to open database file
VERBOSE: test.c:68:my_atexit():	Finalized fsl

(It's just a coincidence that <tt>FSL_RC_DB==SQLITE_CANTOPEN</tt>.)