|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
<h1>Fossil v2 Scratchpad</h1>
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.
<nowiki><pre>
[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
</pre></nowiki>
|