Hi, all,

libfossil hit a major milestone this morning: its first checkin. It doesn't
yet generate delta manifests, but that's high up on the TODO list. The
following repo activity was performed using only libfossil-based tools, not
fossil(1) (the repo was created using libfossil, too):


[stephan@host:~/cvs/fossil/x]$ echo '#hi' > 2.txt
[stephan@host:~/cvs/fossil/x]$ f-add 2.txt
Queued for adding: 2.txt

[stephan@host:~/cvs/fossil/x]$ alias fst
alias fst='f-status'

[stephan@host:~/cvs/fossil/x]$ fst
repository-db:       /home/stephan/cvs/fossil/x.fsl
checkout-root:       /home/stephan/cvs/fossil/x/
checkout-version:    03957ab4425eddada8a9e19c8fb571122bf2bda2 2014-03-09
10:53:37 local (RID 5)
parent:              e40cfeb9333326d6d9c57e139cd9fe0c7e3b6d73
user:                stephan
tags:                trunk
comment:             test2

Local changes compared to this version:

MODIFIED       1.txt
ADDED          2.txt

[stephan@host:~/cvs/fossil/x]$ f-checkin -m test3 2.txt
Queued for commit: 2.txt
vfile_selected contents:
id substr(b.uuid,0,12) pathname
2 NULL 2.txt
f->cache.selectedIds count: 1
MARKER: ./src/fsl_checkin.c:389:fsl_checkin_calc_F_cards(): Selected file:
2.txt
MARKER: ./src/fsl_checkin.c:397:fsl_checkin_calc_F_cards(): New content: 2
/ 172bca796045fc8492aff9c471d04b2b3fe5875f
New version: a7a6933e83bea5650494291d70eabdb79a30fdf1 (6)

[stephan@host:~/cvs/fossil/x]$ fst
repository-db:       /home/stephan/cvs/fossil/x.fsl
checkout-root:       /home/stephan/cvs/fossil/x/
checkout-version:    a7a6933e83bea5650494291d70eabdb79a30fdf1 2014-03-09
10:54:58 local (RID 6)
parent:              03957ab4425eddada8a9e19c8fb571122bf2bda2
user:                stephan
tags:                trunk
comment:             test3

Local changes compared to this version:

MODIFIED       1.txt

[stephan@host:~/cvs/fossil/x]$ f-timeline -n 3 -f
checkin [a7a6933e83be] @ 2014-03-09 10:54:58 by [stephan] branch [trunk]
*CURRENT*
test3
File UUID          Size Name
172bca796045          4 2.txt

checkin [03957ab4425e] @ 2014-03-09 10:53:37 by [stephan] branch [trunk]
test2
File UUID          Size Name
a6ecd1998be1          8 1.txt

checkin [e40cfeb93333] @ 2014-03-09 10:49:52 by [stephan] branch [trunk]
test1
File UUID          Size Name
172bca796045          4 1.txt


:-D

There's still lots of work and testing to be done, but it basically works
:).

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to