D 2013-07-24T02:38:40.432 L home P 4ff2acc673d73eb8e038442670e47f77e1481b73 U stephan W 1213

Fossil v2 Scratchpad

Experimentation for a potential v2 API for the [http://fossil-scm.org|Fossil 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: sgbeal@googlemail.com.
[stephan@host:~/cvs/fossil/f2]$ ./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
[stephan@host:~/cvs/fossil/f2]$ ./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 FSL_RC_DB==SQLITE_CANTOPEN.) Z cdb32a23dec72e729a5d7643482814f2