Login
Changes To home
Login

Changes to "home" between 2013-07-27 12:50:02 and 2013-07-28 15:02:50

1
2
3
4
5
6
7
8
9
10
11
12
13





14
15
16
17
18
19
20
21








22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8





9
10
11
12
13








14
15
16
17
18
19
20
21
22

23
24
25
26
27
28
29








-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+

-







<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 current Fossil committers (those who have a signed a license waiver on file with DRH) 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)
[stephan@host:~/cvs/fossil/f2/th1ish]$ ./th1ish -f test-001.th1ish -- -c -r=../../whio.fsl 
This script's name: test-001.th1ish ==canonical==> /home/stephan/cvs/fossil/f2/th1ish/test-001.th1ish
test-001.th1ish:38:15 Repo db: Db@AA7D70
test-001.th1ish:41:11 f = FossilContext@A8B200
test-001.th1ish:50:19 Db details: repo Db@AA7D70
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
	Opened repo: /home/stephan/cvs/fossil/whio.fsl
	Size of repo: 3922944
	mtime of repo: Sun Jul 28 10:49:41 2013
test-001.th1ish:50:19 Db details: checkout Db@AA86F0
	Opened repo: /home/stephan/cvs/fossil/f2/.fslckout
	Size of repo: 136192
	mtime of repo: Sun Jul 28 16:47:25 2013
...
</pre></nowiki>
(It's just a coincidence that <tt>FSL_RC_DB==SQLITE_CANTOPEN</tt>.)


<h2>TODOs and Whatnot</h2>

You might want to get a coffee/tee/beer before starting through [https://docs.google.com/document/d/12g0s5A2TPX7-y47Nsw235rvsjcuh49TnHfMDB4ASvlo/view|the list].

<h2>"Rules" for Code Contributors</h2>