Login
Update of ”home”
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 35db9dfcd2382d98aad3015895e56a4d6202bcb5
Page Name:home
Date: 2013-07-24 02:38:40
Original User: stephan
Parent: 4ff2acc673d73eb8e038442670e47f77e1481b73 (diff)
Next 3d4c2b0289fcbbd73348ed23e04c1fa8b0f86d36
Content

Fossil v2 Scratchpad

Experimentation for a potential v2 API for the 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.)